Unsloth
FreeA Python library for fine-tuning LLMs [#opensource](https://github.com/unslothai/unsloth).
About Unsloth
Unsloth is an open-source Python library designed to accelerate fine-tuning of large language models (LLMs) while significantly reducing memory usage. It achieves up to 2x faster fine-tuning on a single NVIDIA GPU with 90% less memory compared to standard Flash Attention 2 (FA2). Unsloth supports over 500 models including Mistral, Gemma, Llama, and more, covering text, vision, audio, and embedding tasks. The library integrates with popular formats like LoRA, FP8, FFT, and PT. Alongside the core library, Unsloth offers Unsloth Studio for running models locally (100% offline on Mac/Windows) with GGUF and Safetensors, tool-calling, web search, and an OpenAI-compatible API. Data Recipes auto-creates datasets from PDF, CSV, or JSON files via graph-node workflows. Models can be exported to safetensors or GGUF for use with llama.cpp, vLLM, Ollama, and others. Free open-source version available; Pro and Enterprise tiers offer additional speed, multi-GPU support, and accuracy improvements.
Key Features
Pros & Cons
- Extremely fast fine-tuning and reduced memory usage
- Wide model support (500+) covering multiple modalities
- Free open-source version available with full core functionality
- Local offline runtime via Unsloth Studio
- Easy dataset creation from various file types without manual labeling
- Export compatibility with major inference engines
- Advanced performance (3x+ speed boost, multi-GPU, multi-node) requires paid Pro or Enterprise plans
- Optimal performance tailored for NVIDIA GPUs; AMD support mentioned but limited
- Free version limited to single GPU training; multi-GPU only in paid tiers
- Some features (e.g., faster inference, full training support) are exclusive to Enterprise plan