#131131st of 214 in ML frameworks and libraries
numpyro
Probabilistic programming library on JAX with NUTS/HMC and variational inference
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 2.8k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Sep 2026
- Language
- Python
Missed the latest GitHub check; these facts may be older.
Overview
NumPyro is a Python probabilistic programming library that provides a NumPy/JAX backend for Pyro's model API (sample, param, plate, effect handlers). It JIT-compiles inference, including the full NUTS tree-building step, through XLA to CPU, GPU or TPU. Inference covers MCMC variants (NUTS, HMC, MixedHMC, HMCECS, BarkerMH, SA) and stochastic variational inference with autoguides.
Who it is for: Statisticians and ML researchers doing Bayesian inference in Python on JAX
Strengths
- JIT-compiles the whole NUTS tree build with JAX, removing Python overhead
- Broad MCMC set: NUTS, HMC, MixedHMC, HMCECS, BarkerMH, HMCGibbs, SA
- Pyro-like API and torch.distributions-style distributions; TFP distributions usable in models
- Automatically sums out finite discrete latents so NUTS/HMC can run on the rest
Weaknesses
- README warns of brittleness, bugs and API changes under active development
- No global param store or random state; models must be written functionally
- Requires explicit PRNG key handling, unfamiliar to PyTorch/Pyro users
- Inference gets harder as latent dimension grows; may need reparameterization
What it needs
- GPU optional
- Needs JAX
- Models: NUTS, HMC, MixedHMC, HMCECS, BarkerMH
Also in ML frameworks and libraries
See all 214| Rank | Project | Score |
|---|---|---|
| 1 | transformersPython library defining open models for text, vision, audio and multimodal tasks | 94 out of 100 |
| 2 | ultralyticsPython library and CLI for training and running YOLO vision models | 94 out of 100 |
| 3 | pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts | 94 out of 100 |
| #4 | pytorchPython tensor library with GPU support and tape-based autograd | 93 out of 100 |
| #5 | supervisionPython toolkit for loading, annotating and counting computer vision detections | 92 out of 100 |