Family: Inkling-2-Mini · all families · start here
Runs on: 1bit engine llama.cpp route; HRX placement for this architecture is incomplete (engine#3491), so today much of the graph runs on the CPU
Thinking Machines' Inkling-2-Mini (Apache-2.0, 26 B parameters, looped MoE) is our flagship model family. Five repos, one model:
| repo | what it is | when to use it |
|---|---|---|
| Inkling-2-Mini-NVFP4-MXFP8-loom | Loom card that reads the experts as Thinking Machines published them (NVFP4, and MXFP8 for layers 20-23) on native Loom kernels, over unsloth's UD-Q4_K_XL GGUF with the DSpark drafter. The engine's default for Inkling. Measured on Strix Halo (hrx-loom 0.3.0): 52-60 tok/s decode with the drafter (three greedy 256-token answers, median 53.5; about 91 tok/s on short answers, the engine#3158 gate prompt), 2,085-2,094 tok/s prefill at 16k tokens, mean KLD 0.004583 vs an HF bf16 reference (engine#3158). | Start here. |
| Inkling-2-Mini-loom | The same Loom card without the native kernels (layers 20-23 from the GGUF's Q8_0). Same decode and prefill in the gate row, mean KLD 0.004571. | If you want the card the native one is built from. |
| Inkling-2-Mini-GGUF-quants | Plain GGUF files (Q8_0, Q5_K, Q4_K_M, a mixed allocation), with KLD measured for each; the full ladder is being added. | llama.cpp-style use. On HRX, placement for this architecture is not complete yet (engine#3491). |
| Inkling-2-Mini-NVFP4-attention | Data file: attention + output head re-quantized to NVFP4 (mean KLD 0.018259 / same top-1 95.07 % vs an HF bf16 reference, against 0.004583 / 97.99 % at the default precision; engine#3333), for an opt-in speed variant of the Loom card. | Not used on its own. |
| Inkling-2-Mini-MXFP8-experts | Data file: the MXFP8 routed experts of layers 20-23, byte-identical to the original checkpoint. | Not used on its own. |
Use of the model is subject to Thinking Machines' Model Acceptable Use Policy.
thinkingmachines/Inkling-2-Mini (Apache-2.0), from the
Inkling 2 collection of upstream models and variants.
All 1bit-MONSTER packages of this model, including this repo, are grouped in
Inkling 2 variants - 1bit-MONSTER.
Quantizations of unsloth/Inkling-2-Mini (26.07 B parameters: 16.31 B gate/up experts + 8.15 B down experts = 94 % of all weights) made for a like-for-like quality comparison. Every file below descends from one base — a q8_0 conversion of the bf16 checkpoint (27.8 GB, 704 tensors) — so the only variable between them is the allocation, not the pipeline.
Every row below is measured the same way, by lane cl-lb's Inkling board: llama-perplexity --kl-divergence on the CPU (1bit OS payload, --no-repack) against the logits of Thinking Machines' original weights (16 × 512-token wikitext-2 windows, 4,080 positions). Our bar for recommending a file: mean KLD ≤ 0.03 and same top-1 ≥ 95 %.
Reference and instrument, stated once for this table. The reference is
/data/dev/inkling-ref/ref-mini-f32factors-512x16.kld, sha256
b9c2ddf518f9782c3edf3fab4fc193c124267fb9f7093c3289a51f5bfa6e4e60 — full-vocabulary (200,058) log-softmax
rows at the 4,080 scored positions (16 chunks × positions 256-510), built from thinkingmachines/Inkling-2-Mini
BF16 (model-00001-of-00001.safetensors, sha256 65e60f51…) with transformers 5.24.0 on CPU, the per-expert
NVFP4 factor kept in f32 as the checkpoint stores it. The instrument is
llama-perplexity -m FILE.gguf --kl-divergence-base <that file> --kl-divergence -c 512, x86-64 CPU. cl-lb
scores from its own copy of the same reference at /data/dev/cl-lb/ref/; the file, corpus and positions are the
same (see ~/okf research note INKLING-REF.md for the build and its SHA256SUMS).
Selection rule (quality/size). At each size, take the file with the lowest mean KLD; among this repo's
files the pick is the one with the lowest KLD that still fits a 24 GB card with room for context —
Q5_K at 17.84 GiB, 0.00651 / 97.13 %, which beats alloc24 (17.21 GiB, 0.00823) on KLD for 0.63 GiB more,
and Q4_K_M (16.28 GiB) misses the 95 % bar outright at 94.90 %. Q8_0 is the accuracy floor of the set
(0.00467) but 8 GiB larger; Unsloth's UD-Q4_K_XL at 16.42 GiB is the better 4-bit choice (see the table
below), which is why the Loom cards read it rather than our Q4_K_M.
This repo's files:
| file | size (GiB) | mean KLD vs the original | same top-1 |
|---|---|---|---|
Inkling-2-Mini-Q8_0.gguf |
25.91 | 0.00467 | 97.47 % |
Inkling-2-Mini-Q5_K.gguf — this repo's pick |
17.84 | 0.00651 | 97.13 % |
Inkling-2-Mini-alloc24.gguf |
17.21 | 0.00823 | 96.45 % |
Inkling-2-Mini-Q4_K_M.gguf |
16.28 | 0.01735 | 94.90 % (below our 95 % bar: not recommended) |
[!NOTE] Our
Q4_K_M(16.3 GiB) is below our 95 % same-top-1 bar (94.9 %). At that size, use Unsloth'sUD-Q4_K_XL(16.4 GiB, 97.9 %), or on the 1bit engine our native NVFP4 + MXFP8 Loom card Inkling-2-Mini-NVFP4-MXFP8-loom (98.0 %). The file stays here for reproducibility.
Better choices from unsloth's dynamic quants (the best measured file at or below each size, across unsloth, bartowski, ggml-org, lmstudio-community and this repo). We link them instead of re-hosting them:
| up to | file | size (GiB) | mean KLD | same top-1 |
|---|---|---|---|---|
| 9 GB | UD-Q2_K_XL | 8.51 | 0.0503 | 92.11 % |
| 11 GB | UD-IQ3_XXS | 10.86 | 0.0210 | 94.83 % |
| 13 GB | UD-Q3_K_XL | 12.70 | 0.0118 | 96.32 % |
| 15 GB | UD-IQ4_XS | 14.65 | 0.0051 | 97.43 % |
| 16 GB | UD-Q4_K_M | 15.47 | 0.0042 | 97.84 % |
| 17 GB | UD-Q4_K_XL | 16.42 | 0.0040 | 97.89 % |
UD-Q4_K_XL is the best-measured file at 17 GB on this reference (0.00402 / 97.89 %) and is also the file the Loom
cards read. Above ~17 GB nothing measured beats it (our Q8_0 0.00467, a BF16 GGUF 0.00369). Speed: on 1bit OS
v2026.49-rc1 the llama.cpp HRX route does not run this architecture yet (engine#3491), so GPU speed comes from the Loom cards above.
This second table uses a different reference from the one above, and the small differences in KLD between the
two tables for the same file are that reference, not noise: here the reference is the q8_0 base's own logits
(base-q8.logits, sha256 399fb975efb44d6e41484f652d3f5c1ee8bf3230b1874959cc60c916effb49de, produced by
llama-perplexity --kl-divergence-base on Inkling-2-Mini-Q8_0.gguf itself), over 8 × 512 positions of a 200 KB
mixed prose/code corpus (corpus.txt, sha256 813a0cb2…), so it measures each allocation against the file it was
quantised from rather than against the original checkpoint. The instrument is the same:
llama-perplexity -m FILE.gguf -f corpus.txt -c 512 --chunks 8 -t 14 --kl-divergence --kl-divergence-base base-q8.logits, CPU, reference PPL 8.9104 ± 0.587.
Reference: the q8_0 base's own full logits (llama-perplexity --kl-divergence, -c 512 --chunks 8, PPL 8.9104 ± 0.587, 14 threads). Δp is the per-token probability delta; "same top-p" is the fraction of tokens whose top-1 choice is unchanged.
| file | allocation | size | Mean KLD | RMS Δp | same top-p |
|---|---|---|---|---|---|
Inkling-2-Mini-Q8_0.gguf |
all tensors q8_0 (the base, reference) | 27.82 GB | 0 | 0 | 100 % |
Inkling-2-Mini-Q5_K.gguf |
every expert tensor q5_k, everything else q8_0 |
19.16 GB | 0.006602 ± 0.000246 | 1.665 ± 0.13 % | 96.618 ± 0.52 % |
Inkling-2-Mini-alloc24.gguf |
last 4 blocks' experts q8_0, the other 20 blocks' experts q4_k, everything else q8_0 |
18.48 GB | 0.008648 ± 0.000326 | 1.906 ± 0.08 % | 95.490 ± 0.46 % |
Inkling-2-Mini-Q4_K_M.gguf |
llama.cpp's Q4_K_M |
17.48 GB | 0.018668 ± 0.000626 | 2.990 ± 0.19 % | 93.725 ± 0.54 % |
Reading the table: at 19.16 GB the uniform q5_k experts beat the hand-tuned "keep the last four blocks at 8 bit" allocation (18.48 GB) on every metric and beat stock Q4_K_M by 2.8× on KLD for 9.6 % more bytes. A q4_k_m built from f16 instead of from q8_0 measured 0.018843 ± 0.000561 — i.e. the requantize chain adds nothing, so the gap between the rows is allocation.
Every file here descends from one base, Inkling-2-Mini-Q8_0.gguf (27,820,099,392 B, 704 tensors) in this
repo, sha256 b610cfb736ab19ff00de68a14b70bc1e7408d51326e8ed7613dd181762d06cc3. The three derived files were
made with llama-quantize from the fork's CPU build (tmp-cl-inkling2/llama.cpp/build-cpu/bin, llama.cpp b1388)
and --allow-requantize, so the only variable between them is the per-tensor allocation:
# Q4_K_M - llama.cpp's own mixture
llama-quantize --allow-requantize inkling-q8_0.gguf Inkling-2-Mini-Q4_K_M.gguf Q4_K_M 12
# Q5_K - every expert tensor q5_k, everything else q8_0
llama-quantize --allow-requantize --tensor-type-file mix-q5k.types \
inkling-q8_0.gguf Inkling-2-Mini-Q5_K.gguf Q8_0 14
# alloc24 - last four blocks' experts q8_0, the other twenty blocks' experts q4_k, the rest q8_0
llama-quantize --allow-requantize inkling-q8_0.gguf Inkling-2-Mini-alloc24.gguf Q8_0 12 \
--tensor-type-file mix-nib.types
| file | quantizer command | source | source sha256 |
|---|---|---|---|
Inkling-2-Mini-Q4_K_M.gguf |
llama-quantize --allow-requantize … Q4_K_M 12 |
Inkling-2-Mini-Q8_0.gguf (this repo, 27.82 GB) |
b610cfb736ab19ff00de68a14b70bc1e7408d51326e8ed7613dd181762d06cc3 |
Inkling-2-Mini-Q5_K.gguf |
llama-quantize --allow-requantize --tensor-type-file mix-q5k.types … Q8_0 14 |
same | same |
Inkling-2-Mini-alloc24.gguf |
llama-quantize --allow-requantize … Q8_0 12 --tensor-type-file mix-nib.types |
same | same |
Tensor overrides: mix-q5k.types and mix-nib.types are the complete per-tensor maps (22,486 B each, one
tensor=qtype line per tensor; the allocation each encodes is the one in the table above). Scripts and logs:
~/tmp-quant/{arm-d.sh,rebuild2.sh,run-arms.sh,verify-pack.sh}, kld.log, arm-d.log, verify-pack.log.
Provenance of the Q8_0 base: one step is unrecorded, stated plainly. Inkling-2-Mini-Q8_0.gguf was converted
from thinkingmachines/Inkling-2-Mini (model-00001-of-00001.safetensors, sha256 65e60f51…) with this fork's
own converter (conversion/inkling2.py, which dequantizes the checkpoint's packed experts natively), then
quantized to Q8_0; the exact conversion command line and the intermediate f16 GGUF's own sha256 were
not recorded on the box, so that one step is provenance-unrecorded. The Q8_0 file's own sha256 above is the
anchor every derived file's recipe points at.
| row | result | instrument, MTP state |
|---|---|---|
decode, Q5_K |
8.1 tok/s | llama-cli on 14 CPU threads, no drafter (no speculative decoding on this path) |
| prefill | unmeasured | not measured for these files |
| GPU speed | see the Loom cards | the llama.cpp HRX route does not run this architecture yet (engine#3491) |
1bit-MONSTER/Inkling-2-Mini-loom.q8_0 base, not to the original bf16 checkpoint.Q5_K is a 256-weight super-block format; the expert rows (ncols 1152 and 2304) are 256-divisible so no tensor falls back to q8_0, unlike the Q4_K_M row where ffn_down_exps is not 256-divisible for q6_k and drops to q5_0/q8_0.llama-cli -m Inkling-2-Mini-Q5_K.gguf -p "..." -ngl 99
Every file loads in this repo's own llama.cpp fork (the model needs the inkling2_loop arch: 48 physical blocks, 12 recurrent at 3 passes). Stock upstream llama.cpp does not read this architecture.
gate: licence pass (LICENSE restored, aa9b81ef) - base_model pass - GGUF+recipe pass (three llama-quantize commands + source sha256 for the Q8_0 base; the Q8_0 conversion step is provenance-unrecorded) - Loom card pass (the family's card is in the org) - measured fail (no GPU speed row and no prompt-throughput number for these files; CPU decode only) - sweet spot pass (quality/size rule, pick Q5_K). 2026-12-01, tools/hf_release_check.py.