Comparison
lion-pytorch vs pytorch_optimizer vs pytorch-ranger
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Lion Optimizer - Pytorch
Maintained. Last release 5 months ago. Weaker on release cadence.
$
pip install lion-pytorchoptimizer & lr scheduler & objective function collections in PyTorch
Actively maintained. Last release 2 weeks ago. A safe choice.
$
pip install pytorch-optimizerRanger - a synergistic optimizer using RAdam (Rectified Adam) and LookAhead in one codebase
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install pytorch-rangerIn short
- pytorch-ranger looks abandoned: avoid it for new projects.
- pytorch_optimizer is the most used: 159.9K downloads a month.
- pytorch_optimizer also has the best Pythie’s Index (84).
- pytorch_optimizer is growing fastest: downloads +24% over the last month.
- Safe default for a new project: pytorch_optimizer.
Side by side
| Metric | lion-pytorch | pytorch_optimizer | pytorch-ranger |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 67 | Pythie’s Index: 84 | Pythie’s Index: 16 |
| Verdict | Maintained | Actively maintained | Likely abandoned |
| Downloads / month | 114.7K | 159.9K | 144.9K |
| Downloads, month over month | +16% | +24% | +39% |
| GitHub stars | – | – | 12 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 32 | 10 | 5 |
| Last release | Jul 9, 2026 | Nov 18, 2026 | Mar 30, 2020 |
| Releases, 12 months | 2 | 7 | 0 |
| Weeks with commits | – | – | 0 / 26 |
| Recent contributors | – | – | 4 |
| First release | Feb 2023 | Sep 2021 | Mar 2020 |
| Python versions | 3.9 | 3.10 – 3.15 | – |
| License | MIT | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.