Comparison
google-tunix vs torchtune vs trl vs unsloth
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A lightweight JAX-native LLM post-training framework.
Actively maintained. Last release 12 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install google-tunixA 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 torchtuneTrain transformer language models with reinforcement learning.
Actively maintained. Last release 7 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install trl2-5X faster training, reinforcement learning & finetuning
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install unslothIn short
- trl is the most used: 2.3M downloads a month, 2.9× more than unsloth.
- Maintenance is comparable: trl 86, google-tunix 80, unsloth 80, torchtune 34 on Pythie’s Index.
- google-tunix is the newcomer: first released Sep 2025.
- Safe default for a new project: trl.
Side by side
| Metric | google-tunix | torchtune | trl | unsloth |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 34 |