Comparison
ms-swift vs torchtune vs unsloth
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Swift: Scalable lightWeight Infrastructure for Fine-Tuning
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install ms-swiftA native-PyTorch library for LLM fine-tuning
Low maintenance activity. Last release 20 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install torchtune2-5X faster training, reinforcement learning & finetuning
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install unslothIn short
- unsloth is the most used: 801.4K downloads a month, 3.2× more than torchtune.
- Maintenance is comparable: ms-swift 90, unsloth 85, torchtune 34 on Pythie’s Index.
- Safe default for a new project: unsloth.
Side by side
| Metric | ms-swift | torchtune | unsloth |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 34 | Pythie’s Index: 85 |
| Verdict | Actively maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 73K | 246.6K | 801.4K |
| Downloads, month over month | -18% | -4% | -2% |
| GitHub stars | 16.2K | 5.8K | 80.6K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 6 | 9 | 0 |
| Last release | Nov 13, 2026 | Apr 7, 2025 | Nov 30, 2026 |
| Releases, 12 months | 37 | 0 | 125 |
| Weeks with commits | 26 / 26 | 2 / 26 | 26 / 26 |
| Recent contributors | 33 | 46 | 13 |
| First release | Aug 2023 | Mar 2024 | Aug 2024 |
| Python versions | 3.9 – 3.12 | – | – |
| License | Apache-2.0 | BSD-3-Clause | 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.