unsloth v0.1.924-beta — Inkling finetuning + perf fixes
- Source
- github.com
- Author
- danielhanchen
- Date

Context
Unsloth, an open-source tool for and running language models on limited hardware, can now fine-tune Inkling 2 Mini, the small from Thinking Machines. Unsloth added support for running the model in v0.1.922 and sped up its decoding in v0.1.923; this release adds training. The release notes say it uses or QLoRA, including the vision layers. LoRA trains a small set of added weights instead of changing the whole model, and QLoRA does the same on a copy of the model compressed to 4 bits, which needs less memory. Unsloth says this runs 1.8 to 3.1 times faster with 50% less GPU memory, without saying in the notes what it is measured against.
The hardware limits are the useful detail. A fine-tune fits on the two free T4 GPUs that Kaggle offers, at about 26 seconds per training step, but not on a single 15 GB T4. The trained model can be saved as a merged 16-bit model or as a GGUF file, the single-file format that llama.cpp uses to run models locally, and Unsloth says a fine-tuned Inkling 2 Mini exports to a 17.5 GB GGUF at the q4_k_m compression setting that runs in llama.cpp. That export needs about 150 GB of free disk, so the notes point users to a Colab A100 instead of Kaggle, and merging to 4 bits is still not supported. The larger Inkling 2 Small can also be trained but needs about 290 GB of GPU memory even in 4-bit.
The release also fixes how Unsloth runs the model. Correcting an incorrect maximum for Inkling 2 Mini makes its inference 2 to 3 times faster, the model no longer freezes laptops with 8 GB of VRAM and 16 GB of RAM after a few chats, and thinking models no longer have their reasoning cut short a few turns into a conversation.
- Unsloth reports that LoRA or QLoRA fine-tuning of Inkling 2 Mini, vision layers included, fits on Kaggle's free 2x T4 at about 26 seconds per step, but does not fit on a single 15 GB T4.
- The larger Inkling 2 Small is also supported, but Unsloth puts its requirement at about 290 GB of GPU memory even in 4-bit, far beyond the two-T4 setup that fits Mini.
- A fine-tuned Inkling 2 Mini exports to a 17.5 GB q4_k_m GGUF that runs in llama.cpp, but the export needs about 150 GB of free disk, so Unsloth points users to a Colab A100 rather than Kaggle. Merged 4-bit export is still unsupported.
- Part of the inference speedup is a bug fix: Unsloth says Inkling 2 Mini had an incorrect max context length, and correcting it gives 2-3x faster inference.
- The release fixes silent training bugs: left-padded batches let pad positions see future tokens, and chat datasets with custom keys such as speaker and text had role and content swapped.
- fine-tuning — Taking a trained model and training it a bit more on your own examples so it gets better at one specific job.
- Open-weight model — A model whose trained weights can be downloaded and run outside the maker's hosted API.
- LoRA — A cheap way to fine-tune a model by training a small add-on layer instead of changing all of the model's weights.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Checking sign-in…
Loading comments…




