Repository navigation
giq 0.14.0 adds Thinking Machines' Inkling 2 Mini as a built-in llama.cpp recipe: chat and vision at 128k context in 26 GB, on one RTX 5090. By @vik378.
New
inkling-2-mini. ggml-org's IQ4_NL GGUF of the official Inkling 2 Mini checkpoint, with its Q8_0 vision projector. It's a looped mixture of experts, 26.4B parameters with 3.4B active, whose middle layers run three times a token. 128k context, q8_0 KV cache, thinking on. Not resident by default:giq add inkling-2-minifetches the weights (18.0 GB).- The weights are Apache-2.0. Thinking Machines also publishes a Model Acceptable Use Policy that binds whoever deploys the model.
- Thinking is graded rather than on or off, and the model card says even its lowest level doesn't switch it off entirely.
params.ubatch_sizefor llama.cpp recipes passes-ub, the physical batch a prompt is processed in. llama.cpp sizes its compute buffer for one such batch at the full context, and for Inkling that buffer, not the KV cache, decides what fits. Unset keeps llama.cpp's default, so no other recipe changes.
Measured on an RTX 5090 (q8_0 KV, one slot, projector loaded):
| context | -ub |
peak | generate | prefill |
|---|---|---|---|---|
| 128k | 512 (default) | 30.5 GiB | 79 tok/s | 1,634 tok/s |
| 128k | 256 (the recipe) | 25.5 GiB | 88 tok/s | 1,836 tok/s |
| 128k | 128 | 22.4 GiB | 87 tok/s | 1,512 tok/s |
| 256k | 128 | 27.7 GiB | 86 tok/s | 1,512 tok/s |
| 256k | 512 | does not start |
The recipe declares 26.0 GiB. For 256k, an operator recipe with ctx_size: 262144 and ubatch_size: 128 fits, at slower prefill.
Upgrading
- The recipe needs a newer llama.cpp: a build with Inkling support (ggml-org/llama.cpp#32694 and ggml-org/llama.cpp#32704). An older llama-server refuses the GGUF when it loads; every other recipe is unaffected. Build 12622 was measured, and it runs all the other built-in llama.cpp recipes at their recorded VRAM.
- From 0.13.x: check out
v0.14.0and runmake sync, or install the 0.14.0 wheels from this release. Every package moves to 0.14.0 together.
A vLLM recipe on the official NVFP4 weights follows once a vLLM release carries Inkling 2 Mini.
Full changelog: v0.13.0...v0.14.0