Unsloth
Fine-tune LLMs 2× faster with up to 70% less memory.
- Stars
- 78K
- Forks
- 7.2K
- Open issues
- 368
- Last commit
- 2026-10-15
Live from the GitHub API · updated 2026-10-15
What is Unsloth?
Unsloth provides hand-optimized kernels for LoRA/QLoRA fine-tuning and reinforcement learning of popular open LLMs, with free Colab notebooks for most models.
Key features
- Faster LoRA/QLoRA fine-tuning
- GRPO reinforcement learning
- Export to GGUF and Ollama
- Free Colab notebooks
System requirements
- Platforms
- Linux · Windows · Colab
- GPU
- NVIDIA
- VRAM
- 3 GB+ depending on model size
How to install Unsloth
Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.
pip
- 1Install.
pip install unsloth
Google Colab
- 1Open one of the notebooks linked in the README and run all cells.
Strengths
- Huge speed and memory savings
- Great notebooks
Limitations
- Multi-GPU support limited in the open version
Unsloth alternatives compared
| Software | Stars | License | Platforms | VRAM |
|---|---|---|---|---|
| Unsloth Fine-tune LLMs 2× faster with up to 70% less memory. | 78K | Apache-2.0 | 3 GB+ depending on model size | |
| Axolotl Config-driven LLM fine-tuning for many models and techniques. | 12.6K | Apache-2.0 | — | |
| LLaMA-Factory Unified fine-tuning for 100+ LLMs and VLMs with a no-code web UI. | 75.5K | Apache-2.0 | — | |
| TRL Hugging Face’s library for post-training LLMs: SFT, DPO, GRPO. | 19.5K | Apache-2.0 | — | |
| Kohya’s GUI GUI for training LoRA, DreamBooth and fine-tunes for SD, SDXL and FLUX. | 12.6K | Apache-2.0 | 8 GB+ for SD1.5 LoRA; 12–24 GB for SDXL/FLUX | |
| OneTrainer One-stop trainer for diffusion models with a desktop UI. | 3.2K | AGPL-3.0 | 8 GB+ |
FAQ
Is Unsloth free?
Yes — Unsloth is open-source software released under the Apache-2.0 license. Check the license (and any model weight licenses) before commercial use.
Does Unsloth run on Windows, Mac and Linux?
Unsloth supports: Linux, Windows, Colab.
What hardware do I need for Unsloth?
NVIDIA. VRAM: 3 GB+ depending on model size
How do I install Unsloth?
1. Install.
What are the best Unsloth alternatives?
Popular alternatives include Axolotl, LLaMA-Factory, TRL, Kohya’s GUI. See the comparison table on this page.