Comparison
cmdstanpy vs numpyro vs pyro-ppl vs tensorflow-probability
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python interface to CmdStan
Actively maintained. Last release 2 weeks ago, commits in 19 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 numpyroA Python library for probabilistic modeling and inference
Maintained. Last release 8 weeks ago, commits in 6 of the last 26 weeks. Weaker on issue handling and release cadence.
pip install pyro-pplProbabilistic modeling and statistical inference in TensorFlow
Maintained. Last release over 2 years ago, commits in 12 of the last 26 weeks. Weaker on recent releases and issue handling.
pip install tensorflow-probabilityIn short
- cmdstanpy is the most used: 4.3M downloads a month, 4.7× more than tensorflow-probability.
- Maintenance is comparable: numpyro 84, cmdstanpy 80, pyro-ppl 56, tensorflow-probability 45 on Pythie’s Index.
- Safe default for a new project: cmdstanpy.
Side by side
| Metric | cmdstanpy | numpyro | pyro-ppl | tensorflow-probability |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 84 |