Unsloth
The single-GPU speed and memory optimizer: hand-written Triton kernels, manual autograd, and 4-bit optimizers deliver ~2x speed and ~60% less VRAM — the tool that made 7B QLoRA viable on a $1,500 RTX 4090.
Unsloth's gains are engineering wins, not algorithmic changes. ~2x speed and ~60% less VRAM come from three implementation-level decisions: hand-written Triton kernels (forward/backward), manual autograd (bypass PyTorch's graph overhead), and 4-bit optimizers (8x optimizer-state reduction). The fine-tuning ALGORITHM is unchanged — a QLoRA through Unsloth produces the same adapter as one through TRL, just faster and cheaper.
Unsloth is the consumer-GPU enabler — it made 7B QLoRA viable on a $1,500 RTX 4090. Before Unsloth, 7B fine-tuning on consumer hardware needed a $2K–$5K GPU or aggressive compromises. After Unsloth, the RTX 4090's 24GB is enough. This democratization is pedagogical, not just economic: a student who can run a dozen experiments/day learns steering-vs-knowledge (FT00) by feel, not from a textbook.
Unsloth is CUDA-focused; Apple Silicon users use MLX (FT20) instead. The hand-written Triton kernels target NVIDIA GPUs. On M-series Macs, the optimizations don't apply. This is a deliberate scope boundary — NVIDIA dominates the ecosystem and the kernels are where the performance lives. Route by platform: NVIDIA CUDA → Unsloth; Apple Metal → MLX.
Dynamic 4.0 GGUF quants extend Unsloth's optimization from training into export. Intelligent per-layer quantization (sensitive layers get more bits, robust layers get fewer) beats uniform quants at the same file size. Matters for GGUF/Ollama export (FT19/FT20) and constrained edge devices — more quality per byte. Choose Unsloth for single-GPU/speed/GGUF; Axolotl for multi-GPU; TRL for full control.