Unsloth fine-tunes Inkling 2 Mini 3x faster with 50% less VRAM, works on 22GB locally

danielhanchen · x · 2026-11-24

Unsloth added fine-tuning support for Thinking Machines Lab's Inkling 2 Mini (26.4B MoE, looped transformer): 1.8–3.1x faster than transformers+PEFT+TRL with 50% less VRAM and no accuracy loss, trainable locally on 22GB (21.1GB peak on 24GB cards vs 40GB+ for TRL). Key optimizations include FlexAttention for SWA/sink attention, gradient checkpointing for the thrice-forward looped layers (6–17) with recomputed residuals, and fused CE with final logit softcap. Optional 4-bit quantization of the 128 routed experts per layer enables QLoRA on a single 24GB card or 2×T4 Kaggle. Free Colab/Kaggle notebooks, full guide, and GGUF/16-bit merged export are available.

Original post →

More from Infra

Infra channel →