Last updated: November 29, 2026
Unsloth now fine-tunes Thinking Machines Lab’s Inkling 2 Mini with LoRA or QLoRA. Its own benchmarks show 1.8 to 3.1 times faster training and about 50% less VRAM than transformers with TRL, a free Kaggle notebook on two T4 GPUs, and export to merged 16-bit or a 17.5 GB GGUF.
Contents
- What changed in Unsloth for Inkling 2 Mini
- Unsloth vs TRL: speed and memory
- Hardware options and limits
- How to fine-tune Inkling 2 Mini with Unsloth
- Saving and exporting to GGUF
- Settings, workflows and other fixes
- Known limitations
- Frequently asked questions
What changed in Unsloth for Inkling 2 Mini
Unsloth added Inkling 2 Mini training in v0.1.924-beta on November 24, 2026 and shipped bug fixes for it in v0.1.925-beta on November 25 (release notes). Inkling 2 Mini is a 26.4B mixture-of-experts model with 5.4B active parameters and a looped transformer design, released under Apache 2.0 (Unsloth run guide). For the model itself, see our Inkling 2 Mini local setup guide.
The main changes for power users:
- LoRA and QLoRA training, including the vision layers, in the Python library and in Unsloth Desktop.
- Export:
save_pretrained_mergedwithmerged_16bitandsave_pretrained_ggufnow work for Inkling 2. - Multi-GPU: tensor, pipeline and context parallel across GPUs, plus a layer split that fits Kaggle’s free 2x T4.
- Faster inference: a fix for an incorrect max context length that had slowed Inkling 2 Mini in Unsloth Desktop by 2 to 3 times.
- General training speedups:
adamw_8bitup to 12% less time per step on small batches, and faster GRPO rollouts (release notes).
The November 23 release, v0.1.923-beta, brought up to 1.9 times faster Inkling 2 Mini decoding on 8 to 12 GB GPUs (v0.1.923-beta notes).
Unsloth vs TRL: speed and memory
Unsloth benchmarked QLoRA on FineTome data with LoRA rank 16 and adamw_8bit; times are median step times (fine-tuning guide).
| GPU | Context | Unsloth step | Unsloth peak VRAM | TRL step | TRL peak VRAM | Speedup |
|---|---|---|---|---|---|---|
| A100 80GB | 2,048 | 9.09 s | 29.4 GiB | 16.49 s | 58.3 GiB | 1.81x |
| RTX PRO 6000 Blackwell | 1,024 | 2.94 s | 25.7 GiB | 9.09 s | 55.4 GiB | 3.10x |
The gap comes from quantizing the routed experts to 4-bit at load time (14.5 GiB instead of 47.8 GiB). Plain bitsandbytes only quantizes nn.Linear layers, so Inkling’s 3D expert parameters stay in BF16.
Plain transformers 4-bit also quantizes the loop message gates, pushing first losses to 3.4 to 3.9 instead of 0.4 to 1.2; Unsloth keeps message_gate.down_proj in 16-bit automatically (fine-tuning guide).
Hardware options and limits
| Setup | What Unsloth reports |
|---|---|
| Single 24 GB GPU | QLoRA peaks at 21.1 GB; TRL needs over 40 GB |
| Single 15 GB T4 | Does not fit; 4-bit weights are about 14.4 GB |
| Kaggle 2x T4 (free) | Layer split, about 26 to 27 s per step at 1,024 tokens |
| 96 GB GPU, 16-bit LoRA | Peak 59 GB, 2.54 s per step |
| 96 GB GPU, full fine-tune of all 26B weights | Fits only with optim = "lomo" (peak 59 GB) |
| Inkling 2 Small | Roughly 290 to 310 GB for 4-bit weights; no free tier |
On Ampere or newer GPUs, training uses FlexAttention for the sliding window and attention sinks, about 15% faster per step on an L4; T4s use eager attention.
How to fine-tune Inkling 2 Mini with Unsloth
The steps below follow Unsloth’s quick start (fine-tuning guide). Install or update first; on macOS, Linux and WSL the documented installer is curl -fsSL https://unsloth.ai/install.sh | sh, and Homebrew users can run brew upgrade --cask unsloth (run guide).
- Load the model with
FastModel.from_pretrained(model_name = "unsloth/Inkling-2-Mini", max_seq_length = 1024, load_in_4bit = True, full_finetuning = False). Do not passdtypeor setfp16/bf16; Unsloth picks the precision (float16 on T4). - Add adapters with
FastModel.get_peft_model: setfinetune_vision_layers = Falsefor text-only work, keep attention and MLP modules on (MLP covers the routed experts), and user = 8,lora_alpha = 8anduse_gradient_checkpointing = "unsloth". - Format data with Inkling’s own chat template, for example
standardize_sharegptfollowed bytokenizer.apply_chat_template. - Create an
SFTTrainerwithper_device_train_batch_size = 1,gradient_accumulation_steps = 4,learning_rate = 2e-4andoptim = "adamw_8bit". - Train on assistant turns only with
train_on_responses_only, usinginstruction_part = "<|message_user|>"andresponse_part = "<|message_model|>", then calltrainer.train(). - For two-GPU DDP, launch with
UNSLOTH_MOE_DEQUANT_MAX_MB=64 UNSLOTH_PARALLEL="dp=2" torchrun --nproc_per_node 2 train.py. On Kaggle’s layer split, do not passdevice_map.
Keep the batch size at 1 and raise gradient accumulation, since the 200K vocabulary makes logits the largest allocation. If you are close to the memory limit, lower max_seq_length or set finetune_mlp_modules = False.
Saving and exporting to GGUF
Save LoRA adapters with model.save_pretrained. For a standalone model, use model.save_pretrained_merged(..., save_method = "merged_16bit"), about 53 GB on disk (fine-tuning guide).
GGUF export with model.save_pretrained_gguf(..., quantization_method = "q4_k_m") first writes the 53 GB merge and a 53 GB 16-bit GGUF, so it needs about 150 GB of free disk. On a Colab A100 it produced a 17.48 GB GGUF in about 21 minutes. Kaggle runs out of disk, so export elsewhere (fine-tuning guide). To run the result, Unsloth’s run guide recommends temperature 1.0, top-p 1.0, top-k 0 and min-p 0.0 (run guide). Our Qwen3.8-27B GGUF guide explains Unsloth’s Dynamic quant naming.
Settings, workflows and other fixes
- Control thinking in training data: pass
reasoning_efforttoapply_chat_templateas"none","minimal","low","medium","high","xhigh","max"or a number from 0 to 0.99. The template default is 0.9. - Evaluate your fine-tune: v0.1.925-beta fixed
unsloth evalon chat fine-tunes, so it now scores your own .jsonl, .json or .csv dataset in the model’s chat format instead of near 0 (release notes).
The release also fixes left-padded batches letting pad positions see future tokens, and stops Inkling 2 Mini from freezing laptops with 8 GB of VRAM and 16 GB of RAM (release notes). For the larger sibling, see our Inkling 2 Small open weights guide.
Known limitations
- vLLM fast inference is not supported for Inkling 2 training yet.
merged_4bitexport is still not supported.- Full fine-tuning of all 26B weights with
adamw_8bitruns out of memory on 96 GB, because BF16 weights and gradients alone need about 98 GB. - Unsloth is still labeled beta, and all speed and memory figures are Unsloth’s own measurements (fine-tuning guide).
Frequently asked questions
Can you fine-tune Inkling 2 Mini with Unsloth?
Yes. Since v0.1.924-beta and v0.1.925-beta (November 24 and 25, 2026), Unsloth supports LoRA and QLoRA for Inkling 2 Mini, including vision layers, with merged 16-bit or GGUF export.
How much VRAM does Inkling 2 Mini fine-tuning need?
Unsloth says local training works on about 22 GB of VRAM, peaking at 21.1 GB on 24 GB GPUs with QLoRA. A single 15 GB T4 is not enough because the 4-bit weights alone take about 14.4 GB.
Is Unsloth faster than TRL for Inkling 2 Mini?
In Unsloth’s own QLoRA benchmarks it was 1.81 times faster on an A100 80GB and 3.10 times faster on an RTX PRO 6000, with roughly half the peak VRAM of transformers, PEFT and TRL.
Can I train Inkling 2 Mini for free?
Yes. Unsloth’s free Kaggle notebook splits the model across two T4 GPUs at roughly 26 to 27 seconds per step, but GGUF export needs about 150 GB of disk, more than Kaggle offers.
Can I fine-tune Inkling 2 Small with Unsloth?
It is supported, but the 4-bit weights alone need roughly 290 to 310 GB of GPU memory, so it does not fit free tiers or a single GPU.
Does vLLM fast inference work during Inkling 2 training?
Not yet. Unsloth says vLLM fast inference is not supported for Inkling 2 training, and merged_4bit export is also unavailable.
Sources
- Unsloth v0.1.925-beta release notes (GitHub, November 25, 2026)
- Fine-tuning Inkling 2 Mini Guide (Unsloth Documentation)
- Inkling 2 Mini: Run Locally Guide (Unsloth Documentation)
- Unsloth v0.1.923-beta release notes (GitHub, November 23, 2026)
Featured image: Unsloth logo from the unslothai/unsloth GitHub repository (Apache 2.0 repository asset), resized for editorial use. FreeAnswers is not affiliated with Unsloth.