Instructions to use WaveCut/Inkling-2-Mini-GSQ-RCO-IQ3_S-NInfer-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NInfer
How to use WaveCut/Inkling-2-Mini-GSQ-RCO-IQ3_S-NInfer-v3 with NInfer:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Inkling 2 Mini GSQ-RCO IQ3_S, NInfer v3 artifact
A NInfer v3 artifact of Thinking Machines'
Inkling 2 Mini, a looped
mixture-of-experts model of 26.4B parameters with 3.4B active per token, from ISTA-DASLab's
GSQ-RCO IQ3_S GGUF (3.50 bits a
weight) with the release's vision tower in Q8_0, its DSpark drafter and incoai's DFlash2 drafter,
for NInfer-all, the master branch of iamwavecut/ninfer-all.
Every matrix keeps the GGUF's ggml blocks byte for byte, and its BF16 token table and relative
projections stay BF16, so nothing of the model is requantized; the engine multiplies the blocks in
place. Only the DFlash2 drafter is quantized here: its projections go from the release's BF16 to
8-bit rows in groups of 32 (Q8_G32).
GSQ quantizes each tensor with learned grid assignments and scales, and RCO picks every tensor's ggml type under a size budget. IQ3_S is the largest of the four builds, the one ISTA-DASLab recommends; ISTA-DASLab measured 99.2% of the release's average over AIME25, GPQA-Diamond and LiveCodeBench v6. The other GSQ-RCO artifact: IQ2_S. Unsloth's quantizations: UD-IQ1_M, UD-Q2_K_XL, UD-Q3_K_XL, UD-IQ4_XS and UD-Q8_K_XL; and APEX-I MiniPlus V2.1.
It runs the whole model: one to eight concurrent requests with prompt-prefix reuse, the model's
reasoning in its own blocks, its JSON tool-call blocks returned as OpenAI tool calls, structured
output and strict tool arguments, typed decisions and reranking, images through the release's
vision tower, speculative decoding with the release's DSpark drafter (by default while one request
runs), incoai's DFlash2 drafter (--spec dflash2) or by context lookup, and the routed experts on
the GPU, in pinned host memory or read from this file.
What is inside
| component | representation |
|---|---|
| 24 stored layers run as 48 visits: the prelude (0-5), the core (6-17) three times with the same weights, the coda (18-23) | each visit with its own keys, values and convolution histories |
| attention: 24 query heads over 8 KV heads of 128, no rotation, a learned table of 1,024 distances, sinks; layers 5, 11, 17 and 23 over every position, the others over 1,024 | query, gate, key, value and output projections Q4_K, Q5_K, Q6_K, Q8_0 and IQ4_XS by tensor; the relative projections BF16 |
| MoE: 128 routed experts, 8 per token, sigmoid scores plus a selection bias, SiTU over [gate; up] (width 1152), no shared expert | [gate; up] banks IQ1_S in 3 layers, IQ2_XXS in 6, IQ2_XS in 2, IQ2_S in 3, IQ3_XXS in 6, IQ3_S in 4; down banks IQ4_NL in 21 layers, Q2_0 in 3 |
| token table; untied head (201,024 rows, 200,058 scored, soft cap 30) | BF16; Q5_K |
| router, convolutions, distance tables, depth-mixing queries, loop controllers, norms, expert scales, sink and dynamic-tap projections | FP32 (the GGUF's F32 and BF16 values, each held exactly) |
vision tower (vision): ViT with a class row, resized position rows, 2D-rotated heads, 2 x 2 merging, two-layer projector, up to 4,096 positions an image |
Q8_0 matrices, FP32 vectors, BF16 patch projection, from ggml-org's mmproj-Inkling-2-Mini-Q8_0.gguf |
DSpark drafter (dspark): three non-causal blocks over the target's tapped states, a recurrent Markov head of rank 256 |
Q8_0, the Markov tables BF16, from Unsloth's dspark-Inkling-2-Mini-Q8_0.gguf (llama.cpp's mainline layout, the Markov output folded with the release's BF16 head) |
DFlash2 drafter (dflash2): five sliding-window layers over the anchor and 7 masks, a window of 2,048 positions, from the target's tapped states, then the target's head and a conditional selector over each row's 16 best tokens |
Q8_G32 projections (8-bit, groups of 32, FP16 scales); BF16 convolution and selector projections, norms, bases and codebooks; from incoai's Inkling-2-Mini-DFlash2 (BF16 model.safetensors, revision 4f9088ea) |
| tokenizer, chat template, generation config | thinkingmachines/Inkling-2-Mini at revision ed40e7da |
One .ninfer file of 12,922,322,944 bytes (12.0 GiB; SHA-256
608d02159ef2cada323496d615c91d20a193a025d6c18f2e8651a34927aae03a), next to its conversion report, SHA256SUMS and NOTICE: 1,254 objects, among them 816 FP32, 166 Q8_0, 73 BF16, 49 Q6_K, 36 Q8_G32, 29 Q5_K, 22 Q4_K, 21 IQ4_NL, 10 IQ4_XS, 6 IQ3_XXS, 6 IQ2_XXS, 4 IQ3_S, 3 Q2_0, 3 IQ2_S, 3 IQ1_S and 2 IQ2_XS tensors.
Conversion command, from the repository's tree, with ISTA-DASLab's GGUF repository at revision
fd437345 (Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf, sha256 8a351537…), Unsloth's at 8078d149
(dspark-Inkling-2-Mini-Q8_0.gguf, 3da00cf7…), ggml-org's at 0bdc5806
(mmproj-Inkling-2-Mini-Q8_0.gguf, 23328727…), incoai's Inkling-2-Mini-DFlash2 at 4f9088ea
(model.safetensors, 217980ab…) and the Hugging Face text files at ed40e7da:
mkdir -p hf
for f in config.json tokenizer.json tokenizer_config.json chat_template.jinja generation_config.json; do
curl -fsSL -o hf/$f https://huggingface.co/thinkingmachines/Inkling-2-Mini/resolve/main/$f
done
hf download ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf --local-dir .
hf download unsloth/Inkling-2-Mini-GGUF dspark-Inkling-2-Mini-Q8_0.gguf --local-dir .
hf download ggml-org/Inkling-2-Mini-GGUF mmproj-Inkling-2-Mini-Q8_0.gguf --local-dir .
hf download incoai/Inkling-2-Mini-DFlash2 config.json model.safetensors --local-dir dflash2
python3 -m tools.convert --model hf --recipe inkling2_gguf \
--source gguf=Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf --source vision=mmproj-Inkling-2-Mini-Q8_0.gguf \
--source dspark=dspark-Inkling-2-Mini-Q8_0.gguf --source dflash2=dflash2 \
--components text,vision,dspark,dflash2 \
--name Inkling-2-Mini-GSQ-RCO-IQ3_S --out Inkling-2-Mini-GSQ-RCO-IQ3_S-ninfer-v3.ninfer --device cpu
The conversion took 20 seconds on a rented RTX 3090 host's container.
Running
NInfer-all runs on Linux and Windows with NVIDIA GPUs from Volta to Blackwell. Take a
release build or the Docker image
(cuda13.4, or cuda12.9 for a Tesla V100) from 2026-11-26.2 on: it multiplies the BF16
relative projections beside the other matrices' 8-bit decode products. The build before it ran this
file with every call on BF16 rows, 1.3 times slower to decode (speed); older releases
were not tried. Download the file once:
hf download WaveCut/Inkling-2-Mini-GSQ-RCO-IQ3_S-NInfer-v3 Inkling-2-Mini-GSQ-RCO-IQ3_S-ninfer-v3.ninfer --local-dir models
Each server below speaks the OpenAI and Anthropic protocols on port 8080. The repository's launch
configs (configs/inkling2-mini.ini and configs/inkling2-mini-host.ini, in /opt/ninfer/configs
inside the image) take this file from the command line, which wins over the config's own model
path. DSpark drafts while one request runs; --spec none turns it off and does not load the
drafter. --spec dflash2 --draft-min-p 0.5 loads incoai's DFlash2 drafter instead; on this file it
decoded the essay below a little faster than DSpark.
Every expert on the GPU (images, DSpark, a 64K-token context):
ninfer-serve models/Inkling-2-Mini-GSQ-RCO-IQ3_S-ninfer-v3.ninfer --config configs/inkling2-mini.ini
docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -w / \
-v "$PWD/models:/models" -v ninfer-cache:/cache ghcr.io/iamwavecut/ninfer-all:cuda13.4 \
serve /models/Inkling-2-Mini-GSQ-RCO-IQ3_S-ninfer-v3.ninfer --config /opt/ninfer/configs/inkling2-mini.ini
By the engine's memory plan one sequence of 65,536 tokens with the tower and DSpark takes
14.2 GiB of the GPU, 32,768 tokens 13.6 GiB and 12,288 tokens 13.2 GiB
(12.3 GiB with --spec none), with MXFP8 keys and values. Set the context with
--max-context. Only a 24 GB RTX 3090 has run this file yet.
Experts in system RAM (smaller cards: 8.87 GiB of pinned host memory for the routed experts, a cache of the most used ones on the GPU, a 32K-token context):
ninfer-serve models/Inkling-2-Mini-GSQ-RCO-IQ3_S-ninfer-v3.ninfer --config configs/inkling2-mini-host.ini
docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -w / \
-v "$PWD/models:/models" -v ninfer-cache:/cache ghcr.io/iamwavecut/ninfer-all:cuda13.4 \
serve /models/Inkling-2-Mini-GSQ-RCO-IQ3_S-ninfer-v3.ninfer --config /opt/ninfer/configs/inkling2-mini-host.ini
The GPU keeps 1.76 GiB of weights, two 921 MiB layer banks and the cache, which takes the memory left; CPU threads compute a share of the cache misses.
Experts read from the file (little free RAM; the OS page cache keeps what fits):
ninfer-serve models/Inkling-2-Mini-GSQ-RCO-IQ3_S-ninfer-v3.ninfer --config configs/inkling2-mini-host.ini --expert-residency disk
One prompt from the CLI:
ninfer models/Inkling-2-Mini-GSQ-RCO-IQ3_S-ninfer-v3.ninfer --prompt "Write a binary search in Rust."
- Reasoning. The model writes every block header itself and decides whether it reasons; its
thinking blocks arrive as
reasoning_content.reasoning_effortsets the template's thinking level (nonetoxhigh). Thinking budgets do not apply: the model has no early-close control. - Tool calls. A call block's JSON (
{"name":...,"args":{...}}) comes back as an OpenAI tool call; with--structured-output, strict tools and a response format beside tools hold under their grammars, and a forcedtool_choiceopens the call block for the model. - Sampling defaults. The release's: temperature 1.0.
Keys and values are MXFP8 by default; --kv-dtype also takes int8, rk8v4, rk4v4 and F16
(bf16 or fp16). Not available for this model: MTP, DFlash and n-gram copy drafts, rotation
scaling (the attention has none), thinking budgets, video, pipeline stages. Several GPUs can divide
the routed experts (--tensor-parallel); that has not been run with this file.
Quality
No task benchmarks were run on this artifact; ISTA-DASLab's are in their card. On a rented RTX 3090, November 26, 2026:
- Perplexity on the first 40,000 bytes of WikiText (
ninfer-perplexity --kv-dtype bf16, 9,718 scored tokens): a mean NLL of 1.880629 (perplexity 6.557629), against 1.858990 (6.417255) for the UD-IQ4_XS artifact on the same build, +1.16%. - Against an FP64 forward. On 1,150 WikiText tokens that NInfer-all's FP64 reference
(
tools/reference/inkling2.py, over the GGUF's exactly decoded blocks) scores: a mean NLL of 1.599721 against 1.596036, +0.23%; UD-IQ4_XS on the same build +0.08%. - Image. Asked in Chinese for the number on the mailbox and the sun's side in
examples/cli/messages/image_natural.json(greedy), it answers 24 and the right. - Residency and drafting. With the experts in host memory or read from this file, and with DSpark or DFlash2, the 384 greedy tokens of an essay prompt, reasoning included, equal the run with every expert on the GPU byte for byte.
Speed
The CLI's 384-token greedy essay on a rented RTX 3090 (350 W, PCIe 4.0 x16, a Threadripper 3960X
host, a CUDA 13.4.3 build), November 26, MXFP8 KV, in tok/s: 129.8 and 130.9
with every expert on the GPU and --spec none, 132.8 with DSpark (1.57 tokens a
round), 138.7 with --spec dflash2 --draft-min-p 0.5 (2.43), 115.3 with the
experts in host memory and 115.6 read from this file (the 3090's cache held every expert, so
those two do not show a small card's speed). With a 1,024 MiB cache (--expert-cache-mib 1024)
host experts decoded it at 57.2 tok/s with --expert-dma-share 0.5 (11 CPU threads computed
14.7% of the routes), 49.5 with 1 (the GPU copies every miss) and 37.1 with 0 (the CPU
computes every miss); read from this file, 14.8 with 0.5; each the same text. Master's build
of the same day, before 2026-11-26.2,
ran every call of this file on BF16 rows: 99.7 and 100.4 tok/s,
alternating with the two runs above. UD-IQ4_XS decoded the same essay at 118.2 tok/s on that host.
Credits and license
Model, tokenizer, chat template, generation config, vision tower and DSpark drafter: Thinking
Machines, Inkling 2 Mini, under the
Apache License 2.0. The GSQ-RCO IQ3_S quantization:
ISTA-DASLab, Inkling-2-Mini-GSQ-RCO-GGUF,
under the Apache License 2.0 (GSQ,
code). The GGUF conversion of the drafter: Unsloth, under the
Apache License 2.0. The Q8_0 GGUF of the vision tower: ggml-org. The DFlash2 drafter: incoai,
Inkling-2-Mini-DFlash2, under the Apache
License 2.0. Attribution notices are collected in NOTICE. This repository only re-packs
those weights into NInfer's container.
- Downloads last month
- 1,355
Model tree for WaveCut/Inkling-2-Mini-GSQ-RCO-IQ3_S-NInfer-v3
Base model
thinkingmachines/Inkling-2-Mini