Instructions to use WaveCut/Inkling-2-Mini-UD-Q3_K_XL-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-UD-Q3_K_XL-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 UD-Q3_K_XL, 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 Unsloth's
UD-Q3_K_XL GGUF with the release's vision tower
in Q8_0 and its DSpark drafter, for NInfer-all, the master branch of
iamwavecut/ninfer-all. Every matrix keeps the GGUF's
ggml blocks byte for byte, so nothing is requantized; the engine multiplies the blocks in place.
Stock NInfer builds refuse this file: the Inkling 2 family exists only in that line, and its DSpark
drafter, in llama.cpp's mainline layout, needs release 2026-11-24.1 or later. The file converted from the earlier drafter layout, 14,392,937,728 bytes, stays at revision 151ccb07 of this repository.
UD-Q3_K_XL is the largest 3-bit quantization: its routed experts are mostly NVFP4 and i-quants, and it is much closer to the reference than UD-IQ3_XXS (KLD 0.0174 against 0.0269) for 1.97 GB more. Unsloth measured its mean KL divergence from UD-Q8_K_XL at 0.0174 and the same top token in 96.3% of positions. The other Inkling 2 Mini artifacts: UD-IQ1_M, UD-Q2_K_XL, UD-Q3_K_XL, UD-IQ4_XS 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) 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 | Q8_0, Q6_K, Q5_K and Q4_K by layer |
| 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 NVFP4 in 12 layers, IQ3_XXS in 5, IQ2_S in 3, IQ3_S in 2, IQ2_XS and Q3_K in 1 each; down banks NVFP4 in 20 layers, IQ4_NL in 4 |
| token table; untied head (201,024 rows, 200,058 scored, soft cap 30) | Q5_K; 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) |
| tokenizer, chat template, generation config | thinkingmachines/Inkling-2-Mini at revision ed40e7da |
One .ninfer file of 14,493,304,576 bytes (13.50 GiB; SHA-256
8f2aa68fed5158d27f872a87e3bd7f33c6ee2dfa9343f7a3a07efffc3580cf49), next to its conversion report, SHA256SUMS and NOTICE: 1,191 objects, among them 856 FP32, 240 Q8_0, 32 NVFP4, 24 Q6_K, 12 Q5_K, 5 IQ3_XXS, 4 IQ4_NL, 3 IQ2_S, 3 Q4_K, 3 BF16, 2 IQ3_S, 1 IQ2_XS and 1 Q3_K tensors.
Conversion command, from the repository's tree at release 2026-11-24.1 or later, with Unsloth's GGUF
repository at revision 8078d149 (Inkling-2-Mini-UD-Q3_K_XL.gguf, sha256 e2d03e8cโฆ;
dspark-Inkling-2-Mini-Q8_0.gguf, 3da00cf7โฆ), ggml-org's at e8a2cecf
(mmproj-Inkling-2-Mini-Q8_0.gguf, 23328727โฆ) 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 unsloth/Inkling-2-Mini-GGUF Inkling-2-Mini-UD-Q3_K_XL.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 .
python3 -m tools.convert --model hf --recipe inkling2_gguf \
--source gguf=Inkling-2-Mini-UD-Q3_K_XL.gguf --source vision=mmproj-Inkling-2-Mini-Q8_0.gguf \
--source dspark=dspark-Inkling-2-Mini-Q8_0.gguf --components text,vision,dspark \
--name Inkling-2-Mini-UD-Q3_K_XL --out Inkling-2-Mini-UD-Q3_K_XL-ninfer-v3.ninfer --device cpu
The conversion took 21 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 release 2026-11-24.1 on. Earlier builds stop at this
file's drafter (missing logical parameter dspark/fuse) unless --spec none turns it off, and
builds before 2026-11-21.3 refuse its Q8_0 vision tower. Download the file once:
hf download WaveCut/Inkling-2-Mini-UD-Q3_K_XL-NInfer-v3 Inkling-2-Mini-UD-Q3_K_XL-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.
Every expert on the GPU (images, DSpark, a 64K-token context on a 24 GB card):
ninfer-serve models/Inkling-2-Mini-UD-Q3_K_XL-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-UD-Q3_K_XL-ninfer-v3.ninfer --config /opt/ninfer/configs/inkling2-mini.ini
By the engine's memory plan one sequence of 12,288 tokens takes 14.3 GiB of the GPU with
--spec none and 15.2 GiB with the tower and the drafter (MXFP8 keys and values). On November
21, with F16 keys and values, 8K tokens planned 14.4 GiB with --spec none and 32K tokens with
the tower and the drafter 16.1 GiB: that is a 16 GB card at 8K tokens without the drafter and a 24 GB card with the tower and the drafter at 32K tokens. Set the context with --max-context.
Only 24 GB RTX 3090s have run this file yet.
Experts in system RAM (smaller cards: 11.4 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-UD-Q3_K_XL-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-UD-Q3_K_XL-ninfer-v3.ninfer --config /opt/ninfer/configs/inkling2-mini-host.ini
The GPU keeps 1.33 GiB of weights, two 1,094 MiB layer banks and the cache,
which takes the memory left; CPU threads compute a share of the cache misses. On an 8 GB card add
--max-context 12288.
Experts read from the file (little free RAM; the OS page cache keeps what fits):
ninfer-serve models/Inkling-2-Mini-UD-Q3_K_XL-ninfer-v3.ninfer --config configs/inkling2-mini-host.ini --expert-residency disk
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-UD-Q3_K_XL-ninfer-v3.ninfer --config /opt/ninfer/configs/inkling2-mini-host.ini --expert-residency disk
One prompt from the CLI:
ninfer models/Inkling-2-Mini-UD-Q3_K_XL-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).
Quality
No task benchmarks were run on this artifact. Unsloth's measurements of the GGUF against UD-Q8_K_XL are above. On a rented RTX 3090, November 21, 2026:
- Perplexity on the first 40,000 bytes of WikiText (
ninfer-perplexity --kv-dtype bf16, 9,718 scored tokens): a mean NLL of 1.861615 (perplexity 6.434118), against 1.859871 (6.422907) for the UD-IQ4_XS artifact, +0.09%. - 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, the 384 greedy tokens of an essay prompt, reasoning included, equal the run with every expert on the GPU byte for byte, as does DSpark's text.
Speed
The CLI's 384-token greedy essay on another RTX 3090 (350 W, PCIe 4.0 x16, a CUDA 13.4.3 build of 603a99ca's engine),
November 24, one run each: 122.9 tok/s with every expert on the GPU and --spec none, 140.8 with
DSpark (1.95 tokens a round) and the tower loaded, 110.7 with the experts in host memory and 110.7
read from this file, all with the same text. The 3090's cache held every expert in the host run, so
that speed does not show a small card's. On November 21 the first RTX 3090 (CUDA 12.8), with the
file converted from the earlier drafter, gave 113.5, 126.1 (2.03 tokens a round), 101.3 and 100.6 tok/s.
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 UD-Q3_K_XL quantization and
the GGUF conversion of the drafter: Unsloth, under the Apache License 2.0. The Q8_0 GGUF of the
vision tower: ggml-org. Attribution notices are collected in NOTICE. This repository
only re-packs those weights into NInfer's container.
- Downloads last month
- 8,366
Model tree for WaveCut/Inkling-2-Mini-UD-Q3_K_XL-NInfer-v3
Base model
thinkingmachines/Inkling-2-Mini