Comparison
fastai vs lightning vs mmengine vs torchtnt
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
fastai simplifies training fast and accurate neural nets using modern best practices
Actively maintained. Last release 3 months ago, commits in 10 of the last 26 weeks. A safe choice.
pip install fastaiThe Deep Learning framework to train, deploy, and ship AI products Lightning fast.
Actively maintained. Last release 3 months ago, commits in 13 of the last 26 weeks. A safe choice.
pip install lightningEngine of OpenMMLab projects
Maintained. Last release 5 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install mmengineA lightweight library for PyTorch training tools and utilities
Maintained. Last release over 2 years ago, commits in 16 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install torchtntIn short
- lightning is the most used: 4.8M downloads a month, 16× more than mmengine.
- lightning also has the best Pythie’s Index (86).
- Safe default for a new project: lightning.
Side by side
| Metric | fastai | lightning | mmengine | torchtnt |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 73 | Pythie’s Index: 86 | Pythie’s Index: 48 | Pythie’s Index: 57 |
| Verdict | Actively maintained | Actively maintained | Maintained | Maintained |
| Downloads / month | 238K | 4.8M | 299.7K | 129.4K |
| Downloads, month over month | -14% | +3% | +2% | -67% |
| GitHub stars | 28.3K | 31.5K | 1.5K | 1.7K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 120 | 607 | 0 | 3 |
| Last release | Sep 9, 2026 | Sep 10, 2026 | Jul 13, 2026 | May 22, 2024 |
| Releases, 12 months | 7 | 13 | 2 | 0 |
| Weeks with commits | 10 / 26 | 13 / 26 | 1 / 26 | 16 / 26 |
| Recent contributors | 7 | 50 | 27 | 35 |
| First release | Nov 2017 | Oct 2022 | Jul 2022 | Jul 2022 |
| Python versions | – | 3.10 – 3.13 | 3.7 – 3.10 | 3.7 |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.