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

pyro-ppl / numpyro / 32653337856
92%

Build:
DEFAULT BRANCH: master
Ran 23 Aug 2026 05:15PM 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

23 Aug 2026 04:58PM UTC coverage: 92.361% (+0.007%) from 92.354%
32653337856

push

github

web-flow
Speed up posterior diagnostics (summary 1.7x, effective_sample_size 2.1x) (#2251)

Three changes to numpyro/diagnostics.py:

- Make autocovariance the FFT primitive and derive autocorrelation from
  it by lag-0 normalization, instead of computing autocorrelation first
  and multiplying the variance back in. This removes two full-array
  passes, a separate variance pass, and a redundant float64 astype copy
  from the effective_sample_size path.
- Use scipy.fft with workers=-1 (scipy is always present via jax; fall
  back to np.fft if unavailable) so batched FFTs use all cores.
- In summary(), sort the draws once and reuse the sorted array for both
  the median and the hpdi bounds; previously np.median partitioned the
  same array that hpdi then fully sorted.

summary() is 1.6-1.7x faster and effective_sample_size 2.1x faster on
realistic posterior sizes; float64 results agree with master to rtol
1e-9 (float32 inputs now normalize in double precision, removing
float32-level round-off from n_eff).

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

14629 of 15839 relevant lines covered (92.36%)

1.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test-modeling - 32653337856.1 23 Aug 2026 06:00PM UTC 86
68.87
GitHub Action Run
2 examples - 32653337856.2 23 Aug 2026 05:15PM UTC 86
28.8
GitHub Action Run
3 test-inference - 32653337856.3 23 Aug 2026 05:45PM UTC 86
71.03
GitHub Action Run
Source Files on build 32653337856
  • Tree
  • List 86
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32653337856
  • 7a99e0f3 on github
  • Prev Build on master (#32518409918)
  • Next Build on master (#32653608150)
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