Comparison
blackjax vs cmdstanpy vs numpyro vs pymc
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Flexible and fast sampling in Python
Actively maintained. Last release 2 months ago, commits in 20 of the last 26 weeks. A safe choice.
pip install blackjaxPython interface to CmdStan
Actively maintained. Last release 2 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install cmdstanpyProbabilistic programming with NumPy powered by JAX for autograd and JIT compilation to GPU/TPU/CPU.
Actively maintained. Last release 2 months ago, commits in 23 of the last 26 weeks. A safe choice.
pip install numpyroProbabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with PyTensor
Actively maintained. Last release 4 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install pymcIn short
- cmdstanpy is the most used: 4.2M downloads a month, 3.1× more than pymc.
- Maintenance is comparable: pymc 86, blackjax 85, numpyro 84, cmdstanpy 80 on Pythie’s Index.
- Safe default for a new project: cmdstanpy.