• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pyro-ppl / pyro / 5105007466
92%

Build:
DEFAULT BRANCH: dev
Ran 28 May 2023 03:22PM UTC
Jobs 5
Files 316
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5105007466

push

github

web-flow
make ProvenanceTensor behave more like a Tensor (closes #3218) (#3220)

* make ProvenanceTensor behave more like a Tensor (closes #3218)

the data is now stored in the Tensor itself instead of an attribute.
This fixes torch.to_tensor returning empty tensors when called with a
ProvenanceTensor and and a device as arguments

* fix compatibility with PyTorch 1.11

* make detach_provenance always return the exact same object

this is important when using Tensors as keys in a dict, e.g.
the Pyro param store

* preserve .unconstrained attribute in detach_provenance

* simplify

* add unit test

* simplify further

* use Tensor.as_subclass instead of modifying __class__

also remove unnecessary check in __init__

3 of 3 new or added lines in 1 file covered. (100.0%)

22685 of 24707 relevant lines covered (91.82%)

2.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5105007466.1 28 May 2023 03:44PM UTC 0
25.64
2 5105007466.2 28 May 2023 03:44PM UTC 0
34.83
3 5105007466.3 28 May 2023 03:44PM UTC 0
31.18
4 5105007466.4 28 May 2023 03:44PM UTC 0
72.7
5 5105007466.5 28 May 2023 03:44PM UTC 0
62.54
Source Files on build 5105007466
Detailed source file information is not available for this build.
  • Back to Repo
  • 831c4633 on github
  • Prev Build on dev (#5104645152)
  • Next Build on dev (#5107108773)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc