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

pyro-ppl / numpyro / 18989813418

01 Nov 2025 02:14AM UTC coverage: 92.407% (-0.05%) from 92.457%
18989813418

push

github

web-flow
chore: update `numpyro.util.set_platform` for `JAX_PLATFORM_NAME` and `JAX_PLATFORMS` (#2091)

* chore: update `numpyro.util.set_platform` for `JAX_PLATFORM_NAME` and `JAX_PLATFORMS`

`JAX_PLATFORM_NAME` has been deprecated in favour of `JAX_PLATFORMS` (ref: https://github.com/jax-ml/jax/issues/32980#issuecomment-3463782922), therefore updating the `numpyro.util.set_platform` with deprecation warning and error handling.

* fix: update default values for `flag_name` and `valid_platforms` in `numpyro.util.set_platform` function

* chore: update type hints for `flag_name` and `valid_platforms` in `numpyro.util.set_platform` function

* chore: update comment for valid platforms in `numpyro.util.set_platform` function

1 of 11 new or added lines in 1 file covered. (9.09%)

13704 of 14830 relevant lines covered (92.41%)

1.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.77
/numpyro/util.py


Source Not Available

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