Comparison
flashoptim vs lion-pytorch vs pytorch_optimizer
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Memory-Efficient PyTorch optimizers
Maintained. Last release 8 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install flashoptimLion 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-optimizerIn short
- pytorch_optimizer is the most used: 163.1K downloads a month.
- pytorch_optimizer also has the best Pythie’s Index (84).
- flashoptim is growing fastest: downloads +84% over the last month.
- flashoptim is the newcomer: first released Feb 2026.
- Safe default for a new project: pytorch_optimizer.
Side by side
| Metric | flashoptim | lion-pytorch | pytorch_optimizer |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 46 | Pythie’s Index: 67 | Pythie’s Index: 84 |
| Verdict | Maintained | Maintained | Actively maintained |
| Downloads / month | 84.8K | 116K | 163.1K |
| Downloads, month over month | +84% | +18% | +26% |
| GitHub stars | 260 | – | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 1 | 32 | 10 |
| Last release | Apr 17, 2026 | Jul 9, 2026 | Nov 18, 2026 |
| Releases, 12 months | 6 | 2 | 7 |
| Weeks with commits | 1 / 26 | – | – |
| Recent contributors | 1 | – | – |
| First release | Feb 2026 | Feb 2023 | Sep 2021 |
| Python versions | – | 3.9 | 3.10 – 3.15 |
| License | Apache-2.0 | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.