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

pyro-ppl / numpyro / 39214446369
93%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2026 07:28AM UTC
Jobs 3
Files 87
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

19 Oct 2026 07:11AM UTC coverage: 92.815% (+0.009%) from 92.806%
39214446369

push

github

web-flow
perf(infer): avoid keeping two copies of single-chain MCMC samples (#2319)

* Avoid keeping two copies of the samples in single-chain MCMC

For num_chains == 1, MCMC.run added the chain axis to the collection
right away (a full copy in eager mode) and the first get_samples() or
get_extra_fields() call reshaped it back (another full copy), so the
object held two copies of all samples for its lifetime. Store the
collection in its native layout and derive the other layout lazily, as
the multi-chain path already does for the flat layout. The layout
changes now use array methods so that after transfer_states_to_host()
they are numpy views instead of a round trip through the device.

* Derive the single-chain grouped layout on demand instead of caching it

* Keep mcmc._states readable as a property for backward compatibility

16 of 17 new or added lines in 1 file covered. (94.12%)

15759 of 16979 relevant lines covered (92.81%)

1.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.9
0.5% numpyro/infer/mcmc.py
Jobs
ID Job ID Ran Files Coverage
1 examples - 39214446369.1 19 Oct 2026 07:28AM UTC 87
29.06
GitHub Action Run
2 test-modeling - 39214446369.2 19 Oct 2026 08:33AM UTC 87
70.14
GitHub Action Run
3 test-inference - 39214446369.3 19 Oct 2026 07:54AM UTC 87
71.0
GitHub Action Run
Source Files on build 39214446369
  • Tree
  • List 87
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39214446369
  • 7d97c724 on github
  • Prev Build on master (#39157857612)
  • Next Build on master (#39221210714)
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