Comparison
deepspeed vs marin-levanter vs megatron-core vs torchtitan
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
DeepSpeed library
Actively maintained. Last release 5 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install deepspeedScalable Training for Foundation Models with Named Tensors and JAX
Maintained. Last release 1 day ago, commits in 0 of the last 26 weeks. Weaker on commit activity.
pip install marin-levanterMegatron Core - a library for efficient and scalable training of transformer based models
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install megatron-coreA PyTorch native platform for training generative AI models
Actively maintained. Last release 5 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install torchtitanIn short
- deepspeed is the most used: 1M downloads a month.
- Maintenance is comparable: megatron-core 90, deepspeed 88, torchtitan 80, marin-levanter 63 on Pythie’s Index.
- megatron-core is growing fastest: downloads +75% over the last month.
- Safe default for a new project: deepspeed.
Side by side
| Metric | deepspeed | marin-levanter | megatron-core | torchtitan |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | 63 |