64K, 96K or 128K context on one 16 GB card, measured. Mixed-precision GGUF quantizations of thinkingmachines/Inkling-2-Mini, one file per context target. Each file was sized so that its context fits fully on a 16 GB GPU, and each was tested there: VRAM breakdown, speed, and a long-prompt retrieval check.
Model details
measurements/This card also documents two findings that apply to any quant of this model: its KLD floor of ~0.0085 and where the VRAM goes.
| File | Size | Weights on GPU | KLD | Top-1 | Context on 16 GB | Notes |
|---|---|---|---|---|---|---|
| Inkling-2-Mini-16GB-64K.gguf | 15.1 GB | 14,052 MiB | 0.0097 | 96.9% | 64K | Highest quality here. All original NVFP4 experts kept. |
| Inkling-2-Mini-16GB-96K.gguf | 14.0 GB | 12,948 MiB | 0.0114 | 96.7% | 96K | The most headroom: 471 MiB free at 96K. |
| Inkling-2-Mini-16GB-128K.gguf | 13.4 GB | 12,432 MiB | 0.0133 | 96.3% | 128K | Longest context. |
| mmproj-Inkling-2-Mini-F16.gguf | 0.64 GB | Vision projector for image input. | ||||
| mmproj-Inkling-2-Mini-Q8_0.gguf | 0.35 GB | Smaller vision projector. | ||||
| dspark-Inkling-2-Mini-Q8_0.gguf | 0.40 GB | MTP draft head for speculative decoding. | ||||
| dspark-Inkling-2-Mini-F16.gguf | 0.65 GB | MTP draft head, F16. |
imatrix/), the exact per-tensor type list of each file (recipes/), all raw measurements (measurements/), and the script that converts the draft head (tools/).-ub 16.-ub.Tested operating points on a 16 GB RTX 5060 Ti that also drives the display (16,000 MiB free at idle), q8_0 KV cache:
| File | Context | -ub |
Free VRAM | Generation | Prompt processing |
|---|---|---|---|---|---|
| 64K | 65,536 | 32 | 109 MiB | 55 tok/s | 270 tok/s (49K-token prompt) |
| 64K | 65,536 | 16 | 203 MiB | 54 tok/s | not measured |
| 64K | 32,768 | 64 | 641 MiB | 55 tok/s | not measured |
| 64K | 32,768 | 128 | 223 MiB | 55 tok/s | not measured |
| 96K | 98,304 | 32 | 471 MiB | 56 tok/s | 228 tok/s (71K-token prompt) |
| 96K | 65,536 | 64 | 805 MiB | 56 tok/s | not measured |
| 128K | 131,072 | 32 | 245 MiB | 57 tok/s | 189 tok/s (103K-token prompt) |
| 128K | 98,304 | 64 | 381 MiB | 56 tok/s | not measured |
-ub 64; the 96K file at 128K with -ub 32 or -ub 16.Download a file:
pip install -U "huggingface_hub[cli]"
hf download drofn/Inkling-2-Mini-16GB-GGUF Inkling-2-Mini-16GB-64K.gguf --local-dir .
Start llama-server with the flags the file was tested with (we also passed device, host, port and log options):
# 64K context
llama-server -m Inkling-2-Mini-16GB-64K.gguf -ngl 99 -fit off -fa on -ctk q8_0 -ctv q8_0 \
-c 65536 -ub 32 -b 2048 -np 1 --jinja --cache-ram 0
# 96K context
llama-server -m Inkling-2-Mini-16GB-96K.gguf -ngl 99 -fit off -fa on -ctk q8_0 -ctv q8_0 \
-c 98304 -ub 32 -b 2048 -np 1 --jinja --cache-ram 0
# 128K context
llama-server -m Inkling-2-Mini-16GB-128K.gguf -ngl 99 -fit off -fa on -ctk q8_0 -ctv q8_0 \
-c 131072 -ub 32 -b 2048 -np 1 --jinja --cache-ram 0
llama-server serves a chat web UI at http://localhost:8080 and an OpenAI-compatible API. The two flags that matter most are -ctk q8_0 -ctv q8_0 (a smaller KV cache) and -ub 32 (a smaller compute buffer); Finding 2 explains both.
Use b12611 or newer. b12611 is the first release tag that contains PR #32704 (merged 21 Nov 2026; checked with git tag --contains). According to that PR, earlier builds do not apply the NVFP4 experts' scale tensors in the 2nd and 3rd pass through the looped layers, and the PR reports perplexity above 130 before the fix on a file that keeps NVFP4. All three files here keep original NVFP4 experts. We tested on master e412c6f + the PR and on stock b12622; we did not test older builds, or apps that bundle their own llama.cpp (LM Studio, Ollama and others).
"chat_template_kwargs": {"reasoning_effort": "low"} on /v1/chat/completions (values: none, minimal, low, medium, high, xhigh). The reasoning comes back in reasoning_content, the answer in content. In our test none still produced a short reasoning (100-130 characters; the whole reply was 45-50 tokens).generation_config.json sets temperature 1.0.--jinja):<|message_system|><|content_text|>{system_prompt}<|end_message|><|message_system|><|content_text|>Thinking effort level: 0.9<|end_message|><|message_user|><|content_text|>{prompt}<|end_message|>
On Windows, when the allocation does not fit, the driver moves part of it to shared system memory instead of failing. In our text-only runs, configurations that fit showed 86-140 MiB of shared GPU memory for the process. Configurations short on VRAM showed 156 MiB or more, and most of them generated more slowly (10-48 tok/s instead of about 55; two kept full speed). With a projector or a draft head loaded these numbers shift (a draft head on the CPU alone raised shared memory to 182 MiB while more than 1 GB of VRAM was free), so compare against your own baseline. Look at "Shared GPU memory" for the process in Task Manager after a long prompt.
The model takes images through a vision projector (mmproj). Two are provided, converted from the original checkpoint with the stock b12622 converter: F16 (0.64 GB) and Q8_0 (0.35 GB).
llama-server -m Inkling-2-Mini-16GB-64K.gguf --mmproj mmproj-Inkling-2-Mini-Q8_0.gguf --no-mmproj-offload \
-ngl 99 -fit off -fa on -ctk q8_0 -ctv q8_0 -c 65536 -ub 32 -b 2048 -np 1 --jinja --cache-ram 0
--no-mmproj-offload. The files are sized to fill the card, and the projector needs VRAM of its own: after one image, the server used about 530 MiB more with the Q8_0 projector and about 810 MiB more with F16 than the same file without a projector. With the Q8_0 projector on the GPU, all three files ran short of VRAM at their target context (198-554 MiB of shared memory after the image).--no-mmproj-offload, the 64K file at 64K and the 128K file at 128K fit as they do for text (85 and 221 MiB free after the image, 57 tok/s). We did not run the 96K file in this mode.The original checkpoint ships a multi-token prediction (MTP) head (mtp.safetensors, 318M parameters). It proposes a few tokens at a time and the main model verifies them. llama.cpp calls this kind of head a DSpark drafter, which is why the files are named dspark-* and the flag is --spec-type draft-dspark. This repo provides the head as a draft GGUF: Q8_0 (0.40 GB) and F16 (0.65 GB).
It needs a llama.cpp build that contains PR #32218, which is still a draft. Stock llama.cpp cannot use the head yet: on b12622 a draft file with these tensors fails to load (a shape check on markov_w1), and from reading the source, the Inkling graph does not export the hidden states the head reads. We built b12622 plus the PR's single commit (0a9105de), and every number in this section comes from that build. Unsloth's llama.cpp prebuild lists the PR in its release notes; we did not test it.
llama-server -m Inkling-2-Mini-16GB-96K.gguf \
--model-draft dspark-Inkling-2-Mini-Q8_0.gguf --spec-type draft-dspark --spec-draft-n-max 3 --n-gpu-layers-draft 99 \
-ngl 99 -fit off -fa on -ctk q8_0 -ctv q8_0 -c 65536 -ub 32 -b 2048 -np 1 --jinja --cache-ram 0
Speed (96K file, 32K context, -ub 128, 400 tokens of generation, 3 runs each):
| Setup | Code prompt |
|---|---|
| no draft head | 56.4 tok/s |
Q8_0 head on GPU, --spec-draft-n-max 2 |
77.7 tok/s |
Q8_0 head on GPU, --spec-draft-n-max 3 |
76.7 tok/s |
Q8_0 head on GPU, --spec-draft-n-max 4 |
75.3 tok/s |
Q8_0 head on GPU, --spec-draft-n-max 6 |
69.9 tok/s |
F16 head on GPU, --spec-draft-n-max 3 |
75.0 tok/s |
Q8_0 head on CPU (--n-gpu-layers-draft 0), --spec-draft-n-max 3 |
46.5 tok/s |
--spec-draft-n-max 3, 69% of the drafted tokens were accepted (76% at 2, 60% at 4, 48% at 6). On a prose prompt (one run each, 600 tokens) generation went from 56.3 tok/s without the head to 49.3 tok/s with the Q8_0 head at --spec-draft-n-max 3, with 31% accepted.Contexts that fit with the Q8_0 head on the GPU (--spec-draft-n-max 3, code prompt; free VRAM right after loading, as in the tables above; without the head these files generate at 56-57 tok/s):
| File | Context | -ub |
Free VRAM | Generation |
|---|---|---|---|---|
| 64K | 32,768 | 32 | 245 MiB | 64 tok/s |
| 96K | 65,536 | 32 | 477 MiB | 80 tok/s |
| 128K | 65,536 | 64 | 577 MiB | 73 tok/s |
| 128K | 98,304 | 32 | 121 MiB | 73 tok/s |
Short on VRAM with the head: the 64K file at 32K with -ub 64 (29 MiB free, 158 MiB shared) and the 96K file at 64K with -ub 64 (61 MiB free, 186 MiB shared).
Output is not token-identical. At temperature 0, the reply with the head diverged from the reply without it after 387 of about 810 characters, for --spec-draft-n-max 2, 3 and 6 alike. The run without the head and the run with --spec-draft-n-max 3 each gave the same text when repeated; the other two were run once. Our reading is that this is the sensitivity of Finding 1 again (verification runs the tokens in differently sized batches), but we did not verify that.
Where the file comes from. tools/convert_dspark_drafter.py converts the vendor's MTP head (mtp.safetensors) into the layout the PR loads. Its output is tensor-for-tensor identical (54 of 54, in Q8_0 and in BF16) to the DSpark drafter Unsloth publishes for this model, so the two are interchangeable.
What we saw. Take the original model, in its lossless GGUF form, and change only one thing about how it is run. Against its own reference it then scores:
| Only change | KLD (4-set geometric mean) | Top-1 |
|---|---|---|
batch size -b 512 → -b 256 |
0.0085 | 97.1% |
| KV cache f16 → q8_0 | 0.0085 | 97.1% |
| flash attention off | 0.0085 | 97.1% |
No weight was touched in these runs. We then took the lossless file and lowered the precision of one group of tensors at a time:
| Group lowered in the lossless file | KLD |
|---|---|
| output layer → Q8_0 | 0.00001 |
| experts of blocks 20-23 → 4 bit | 0.00075 |
| attention of blocks 18-23 → Q8_0 | 0.0005 |
| attention of blocks 0-5 → Q8_0 | 0.0086 |
| attention of blocks 6-17 (the loop) → Q8_0 | 0.0076 |
| token embedding table → Q8_0 | 0.0085 |
| all of the above at once | 0.0093 |
What it means. Small numerical changes before or inside the loop each move the output by a similar amount (0.0076 to 0.0086 above), and these shifts do not add up (all at once: 0.0093, not the sum). Changes after the loop (output layer, blocks 18-23) do not trigger it.
AtomicChat's card for this model already notes that even Q8_0 reaches only about 97.7% top-1 against their BF16, and guesses that rounding accumulates over the loop. Our runs show the same kind of gap without changing any weight. It is not a hard ceiling: lowering only the output layer to Q8_0 left top-1 at 99.9%.
What we do not know. The mechanism is not verified. Our reading is also that the looped layers amplify tiny numerical differences, but we did not test that.
-ub × contextOn a 16 GB card the weights are not the only large item. For -ub 32 and above, the compute buffer is:
compute buffer ≈ 200 bytes × ub × context
Measured examples: 407 MiB at 64K with -ub 32, 815 MiB at 64K with -ub 64, 803 MiB at 128K with -ub 32. Halving -ub or the context halves the buffer, so for a given file the context you can fit depends on -ub. Below 32 the saving shrinks: -ub 16 gave 313 MiB at 64K and 623 MiB at 128K. We saw the same buffer sizes with our files and with other publishers' files, so this depends on -ub and context, not on the weights file. If a file does not fit at your context, lowering -ub is the first thing to try.
KV cache sizes at q8_0:
| Context | 32K | 64K | 96K | 128K |
|---|---|---|---|---|
| KV cache | 650 MiB | 1,194 MiB | 1,738 MiB | 2,282 MiB |
q8_0 KV made no consistent difference on these files. From f16 to q8_0 the KLD of our three files moved by −0.8%, −0.4% and +3.8% at 512-token chunks (+2.1%, −0.2% and −1.4% at 4,096), and of other publishers' files by −2.7% to +1.8%; the signs are mixed. Our reading is that this follows from Finding 1: these files are already at or above the floor. On a file that is below it (blocks 0-17 left bit-exact, KLD 0.0012 under identical run conditions), switching the KV cache to q8_0 alone brought KLD to 0.0093.
The trade-off is prompt-processing speed. On our three files generation ran at 54-57 tok/s in every fitting configuration, whatever the -ub. Prompt processing gets slower as -ub shrinks: with the same 49K-token prompt at 64K context we measured 334 tok/s at -ub 64 (on a slightly smaller variant of this recipe that we did not publish) and 270 tok/s at -ub 32 (on the 64K file). On the 128K file, a 103K-token prompt at -ub 32 took about 9 minutes.
All files measured on the same rig, with the same reference and the same method: 4 text sets, 512-token chunks × 40, f16 KV cache; KLD is the geometric mean and top-1 the mean over the sets. Excess over floor = KLD − 0.0085 (Finding 1). Sorted by size.
| File | Weights on GPU (MiB) | KLD | Excess over floor | Top-1 |
|---|---|---|---|---|
| AtomicChat AD-IQ3_S | 12,242 | 0.0168 | 0.0083 | 95.9% |
| ours, 128K | 12,432 | 0.0133 | 0.0048 | 96.3% |
| unsloth UD-Q3_K_XL | 12,685 | 0.0126 | 0.0041 | 96.4% |
| ours, 96K | 12,948 | 0.0114 | 0.0029 | 96.7% |
| AtomicChat AD-IQ4_XS | ≈ 13,840 | 0.0102 | 0.0017 | 96.7% |
| ours, 64K | 14,052 | 0.0097 | 0.0012 | 96.9% |
| bartowski IQ3_M | ≈ 14,090 | 0.0153 | 0.0068 | 96.2% |
| unsloth UD-IQ4_XS | ≈ 14,530 | 0.0091 | 0.0006 | 97.1% |
| ggml-org IQ4_NL | ≈ 16,350 | 0.0093 | 0.0008 | 96.9% |
| unsloth UD-Q4_K_XL | ≈ 16,350 | 0.0086 | 0.0001 | 97.1% |
original model, -b 256 |
0.0085 | 0 | 97.1% |
Sizes without "≈" are the model buffer reported by llama.cpp; sizes with "≈" are file size minus the token embedding table, which was 8 and 13 MiB higher than the model buffer on the two files where we have both. KLD numbers on other cards were produced with other references and settings, so do not compare them directly with these.
Reading it fairly:
-ub 32, same rig: AtomicChat AD-IQ3_S fit with 435 MiB free and generated at 53 tok/s; our 128K file fit with 245 MiB free at 57 tok/s; unsloth UD-Q3_K_XL was at the limit, with 43 MiB free, 156-178 MiB of shared memory and 48 tok/s (it runs at 54-55 tok/s where it fits). What the files here add is that each size was chosen for a specific context on a 16 GB card, and that fit was measured.Reference. The exact GGUF representation of the original checkpoint (22.9 GB): experts of blocks 0-19 in NVFP4; experts of blocks 20-23, attention and embeddings in BF16; norms and other small tensors in F32. We checked it against our own conversion of the original checkpoint: BF16 and F32 tensors byte for byte, NVFP4 tensors by spot check (3 of the 128 experts in each tensor, after applying the scale).
Common recipe. Every expert down tensor stays as the original NVFP4 in blocks 0-19 and is IQ4_NL in blocks 20-23. The main attention matrices, the output layer and the token embedding are Q6_K; a few small attention projection tensors stay BF16. The expert gate_up tensors differ per file:
| File | gate_up by block |
|---|---|
| 64K | 0-19 NVFP4 (original), 20-23 IQ4_XS |
| 96K | 0-7 IQ3_XXS, 8-17 NVFP4, 18-19 IQ3_S, 20-23 IQ4_XS |
| 128K | 0-7 IQ2_S, 8-17 NVFP4, 18-19 IQ3_XXS, 20-21 IQ4_XS, 22-23 IQ3_S |
Each file was written by llama-quantize with the --tensor-type-file in recipes/ and the imatrix in imatrix/.
Why, from about 80 measured variants:
down → MXFP4: +0.002 to +0.004 KLD for about 100 MiB saved).down tensors (width 1152) cannot use the K and IQ types that need 256-wide blocks, and Q2_0 is too expensive (+0.006 to +0.028).gate_up of blocks 20-23 going from 3 to 4 bit, and keeping gate_up of blocks 8-19 in NVFP4. The cheapest cuts are gate_up of the early blocks 0-7 and the attention layers (Q8_0 → Q6_K: +0.0002 for 143 MiB).Calibration. The imatrix was computed by us on the lossless reference, from 1,107 chunks of our own calibration text at context 2,048.
e412c6f + PR #32704. On stock b12622, KLD of all three files was equal to 6 decimal places, and the server test of the 64K and 128K files gave the same buffers and free VRAM, with generation speed within 2%. The image, thinking-effort and prompt-format checks were run on stock b12622. The speculative-decoding tests were run on b12622 + PR #32218.llama-perplexity --kl-divergence; 4 text sets (two general, two code), 512-token chunks × 40. Also 4,096-token chunks × 10 on 2 sets, which gave KLD 0.0097 / 0.0112 / 0.0134 for the 64K / 96K / 128K files. KLD is a geometric mean over the sets, top-1 an arithmetic mean.-ngl 99 -fit off -fa on -ctk q8_0 -ctv q8_0 -np 1 -b 2048 -ub <N> --jinja --cache-ram 0.nvidia-smi, shared memory from the Windows GPU process counters, and 400-token generation speed (for the 64K and 128K files also repeated after the long retrieval prompt).measurements/, including the scan variants and the experiments behind Finding 1.-ub 32 (189-270 tok/s in our tests). If you mostly send short messages in a long conversation this matters little; pasting a 100K-token document at once takes about 9 minutes.-ub 32 on our card.chat_template_kwargs way of setting thinking effort; bartowski's published imatrix and calibration-v6 text were used in our imatrix comparison.GGUF quants sized for one GPU, each with KLD, VRAM and speed measured on the same rig.
| GPU | Model | Repo |
|---|---|---|
| 16 GB | Inkling-2-Mini, 64K / 96K / 128K context | drofn/Inkling-2-Mini-16GB-GGUF |
| 8 GB | Inkling-2-Mini, 32K / 48K / 64K context | drofn/Inkling-2-Mini-8GB-GGUF |
| 8 GB | SenseNova-Loop-9B, recommended build | drofn/SenseNova-Loop-9B-8GB-v3-GGUF |
| 6 GB | SenseNova-Loop-9B, 32K context | drofn/SenseNova-Loop-9B-6GB-GGUF |
| any | SenseNova-Loop-9B, full ladder in the upstream llama.cpp layout | drofn/SenseNova-Loop-9B-GGUF |
Earlier 8 GB builds, kept for reference: v2 and v1.
Apache-2.0, the same as the base model.