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

pyro-ppl / numpyro / 29599788232
92%

Build:
DEFAULT BRANCH: master
Ran 17 Jul 2026 06:21PM UTC
Jobs 3
Files 86
Run time 1min
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

17 Jul 2026 05:22PM UTC coverage: 92.364%. First build
29599788232

push

github

web-flow
Miscellaneous bugfixes (#2215)

* infer.svi: treat empty JaxTrees of mutables as equivalent to None at all

Signed-off-by: Eli Sennesh <elisennesh@gmail.com>

* notebooks.source.nnx_example: employ TraceGraph_ELBO to hit mutables-check

Signed-off-by: Eli Sennesh <elisennesh@gmail.com>

* numpyro.primitives: correct implementation and use of callable init_value()

Signed-off-by: Eli Sennesh <elisennesh@gmail.com>

* numpyro.distributions: intermediates through log_prob of Expanded, Independent

TransformedDistribution.sample_with_intermediates caches the pre-transform
base sample so that log_prob(value, intermediates) can reuse it instead of
recomputing transform.inv(value). That optimization was silently lost when the
transformed distribution was wrapped:

- Independent inherited the base no-op sample_with_intermediates (returning an
  empty []), so the cached value never reached the trace, and its log_prob did
  not accept intermediates.
- ExpandedDistribution.log_prob ignored the intermediates it was passed (it
  carried a "TODO: utilize intermediates").

Both remain backward compatible (intermediates defaults to None).

For a TransformedDistribution wrapped by to_event()/expand(), this lets log_prob
reuse the sampled base value rather than inverting the transform, a potential
speedup in certain cases.  Include a test to make sure this actually works.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Eli Sennesh <elisennesh@astera.org>

* numpyro.primitives: include type annotation, fix formatting in param()

Signed-off-by: Eli Sennesh <elisennesh@astera.org>

---------

Signed-off-by: Eli Sennesh <elisennesh@gmail.com>
Signed-off-by: Eli Sennesh <elisennesh@astera.org>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

14 of 16 new or added lines in 2 files covered. (87.5%)

14611 of 15819 relevant lines covered (92.36%)

1.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.38
numpyro/distributions/distribution.py
Jobs
ID Job ID Ran Files Coverage
1 examples - 29599788232.1 17 Jul 2026 07:07PM UTC 86
28.82
GitHub Action Run
2 test-inference - 29599788232.2 17 Jul 2026 06:21PM UTC 86
71.11
GitHub Action Run
3 test-modeling - 29599788232.3 17 Jul 2026 06:31PM UTC 86
68.59
GitHub Action Run
Source Files on build 29599788232
  • Tree
  • List 86
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29599788232
  • aafb7d8c on github
  • Prev Build on master (#29025017142)
  • Next Build on master (#29682248581)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc