Comparison
autograd vs jax vs mlx vs numdifftools
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Efficiently computes derivatives of NumPy code.
Maintained. Last release 5 months ago, commits in 17 of the last 26 weeks. Weaker on issue handling and release cadence.
pip install autogradDifferentiate, compile, and transform Numpy code.
Actively maintained. Last release 13 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install jaxA framework for machine learning on Apple silicon.
Actively maintained. Last release 6 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install mlxSolves automatic numerical differentiation problems in one or more variables.
Actively maintained. Last release 5 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
pip install numdifftoolsIn short
- jax is the most used: 13.5M downloads a month, 3.2× more than autograd.
- Maintenance is comparable: mlx 93, jax 89, numdifftools 72, autograd 69 on Pythie’s Index.
- jax is growing fastest: downloads +19% over the last month.
- Safe default for a new project: jax.
Side by side
| Metric | autograd | jax | mlx | numdifftools |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 89 |