Inkling-2-Mini 8Q RCO-GPTQ

Inkling-2-Mini in one 18.3 GB file that runs a 524,288-token context on a single 24 GB card, with the model's own draft head inside the file. Made with, and made for, LexiSuite: the file was produced by LexiPanel's quantization tool and runs on LexiEngine, an inference engine written in Rust.

Base model thinkingmachines/Inkling-2-Mini (Apache-2.0)
File Inkling-2-Mini-8Q-RCO-GPTQ.gguf, 18,263,767,520 bytes
SHA-256 e2033b2d8b54335f22c1cbe3bbb4cfa5da642c70750443958ef4d65e064b37fa
Experts the vendor's own 4-bit float format (NVFP4), copied bit for bit from the checkpoint
Attention matrices 8-bit (Q8_0), fitted with calibrated rounding (GPTQ)
Everything else 8-bit (Q8_0) or as published
Draft head the model's own, packed into the file (54 tensors, 0.64 GB)
Largest context on 24 GB 524,288 tokens, the whole model on the card
Runs on LexiEngine (Vulkan). Not a stock llama.cpp file: see Compatibility

Why this file exists

Inkling-2-Mini is an awkward model to run at home. It is a looped mixture of experts: 24 layers, of which the middle 12 run three times with shared weights, so every token passes through 48 layer applications and the runtime keeps 48 caches. There are 128 experts per layer and 8 are used per token. Twenty layers see a 1,024-token window and four see the whole context. The vendor ships the experts already in a 4-bit float format.

A standard conversion decodes those experts and quantizes them again, which gives a 27.8 GB file at 8 bits. That does not fit a 24 GB card. This file keeps the experts exactly as published and puts the rest at 8 bits, which gives 17.6 GB of weights and leaves room for a half-million-token context.

Memory at a 524,288-token context

Measured on a Radeon RX 7900 XTX (24 GB), 4-bit cache rows:

Weights 17.62 GB
Caches (524,288 positions, 48 slots) 5.02 GB
Scratch 0.58 GB

The whole model and its caches sit on the card. Nothing is served from system memory.

Measured on this file

One Radeon RX 7900 XTX (24 GB), Intel i7-9700, Linux, Vulkan. 4-bit cache rows. Single runs, greedy decoding, November 22, 2026, on the engine code that went into testing image 3a376f8 (measured before the final merge of that version; the table further down is measured on the version itself, with the plain-rounded sibling of this file).

Prompt length Prompt speed Generation, plain Generation with the file's draft head
4,096 2,417 tok/s 66.3 tok/s
16,384 2,300 tok/s 64.9 tok/s 105.7 tok/s (5.7 tokens a step)
523,264 787.6 tok/s (11 min 4 s) 40.1 tok/s 39.6 tok/s against 37.0 plain in the same run (3.0 tokens a step)
  • With the draft head the output was identical to plain greedy decoding in every run (256 of 256 tokens at 16k, 128 of 128 at 524k). The 16k drafting run measured plain decoding at 56.1 tok/s over its 256 tokens, so the draft head gave 1.9 times that.
  • Retrieval at 523,264 tokens: 10 of 10. Ten facts were planted through the prompt, from 1% to 99% of its length, and each was asked back.
  • The draft head was read from this file alone, with no separate checkpoint folder.
  • Deep in a half-million-token context the draft head gains less than at short depth: its own attention over that much context takes part of what it saves.

The earlier testing image b753bf3 also loads this file and generates (53 tok/s on a short prompt), but it does not read the draft head from the file; use 3a376f8 or newer for the speeds above.

Accuracy

Divergence from a reference run of the published weights, 1,024 positions (two texts of 512 tokens). Lower is better. "Plain-rounded" is the same file layout with the attention matrices rounded to the nearest 8-bit value instead of fitted.

File Unrounded caches: KL / same top token 4-bit caches: KL / same top token
This file (fitted) 0.00141 / 99.02% 0.00549 / 97.56%
Plain-rounded 0.00175 / 99.22% 0.00499 / 97.56%

Read this table honestly: with unrounded caches the fitted file is closer to the reference; with 4-bit caches, which is how a 524k context fits on 24 GB, the two are within noise of each other and the plain-rounded file is marginally ahead. On this model the 4-bit cache, not the weight file, is the larger source of error (about 0.005 against about 0.002 with 8-bit cache rows). The fit is real, and it is small.

The quantization tool's own acceptance test on a held-out window: KL 0.00214 against a limit of 0.02, same top token 99.02% against a minimum of 95%.

How it was made

LexiPanel's Quant Forge, run end to end on the full-precision source:

  1. Calibration. 16 windows of 512 tokens through the full-precision model, recording the inputs of every attention matrix.
  2. Candidates. Each of the 176 attention matrices fitted with GPTQ against those inputs. One example from the run: an 8-bit matrix's output error went from 6.48 with plain rounding to 0.90 fitted.
  3. RCO. A search for the best mix of formats under a size budget. The budget here is "fits a 524k context on 24 GB", and every matrix fits at 8 bits, so the result is 8 bits throughout.
  4. Build. The 176 fitted matrices written beside 568 tensors carried over unchanged, the experts among them.
  5. Evaluation. The held-out test above.

Then the model's own draft head was packed into the same file.

Not in this file: no fine-tune and no adapter. A small adapter was trained during this work and measured on held-out text; it did not improve the model measurably, so it was left out.

The draft head

Inkling-2-Mini ships with a small draft head that proposes several tokens at a time; the main model then checks them. In LexiEngine the check is exact: with greedy decoding the output is identical to decoding without the head, only faster. It is normally a separate file. Here it is inside the GGUF, so one file is all the engine needs.

LexiEngine on Inkling-2-Mini

Published results of LexiSuite testing image 3a376f8 (November 22, 2026), measured with the plain-rounded sibling of this file (same layout, same draft head) on the same card, against llama.cpp b12600 running those weights (measured November 20, 2026). 4-bit caches in both engines, one run each, greedy.

Prompt length LexiEngine prompt LexiEngine generation With the draft head llama.cpp prompt llama.cpp generation
4,096 2,451 tok/s 66.2 tok/s 110.7 tok/s 425 tok/s 25.4 tok/s
16,384 2,328 tok/s 65.2 tok/s 109.5 tok/s 397 tok/s 25.0 tok/s
261,632 1,178 tok/s 49.7 tok/s 61.7 tok/s did not finish in 55 min
523,264 769 tok/s 40.3 tok/s 47.0 tok/s not run
  • The generation column is a 64-token run. The drafting runs measure plain decoding again over their own tokens, and that is what the draft head is compared with: 56.9, 56.1, 45.2 and 37.3 tok/s at the four depths. Drafted output was identical to plain greedy decoding in every run.
  • How much the draft head gives depends on the text, after a 16,384-token prompt: English technical prose 85.3 tok/s (3.3 tokens a step), Rust code 101.7 (5.1), JSON records 128.3 (7.0), against 55 to 56 plain.
  • Served over the chat API at a 524,288-token context with a short prompt: 86.6 tok/s greedy with the draft head against 54.2 without, 90.1 against 61.6 at temperature 0.7.
  • Retrieval of ten facts planted through the prompt: 10 of 10 at 260,864 tokens and 10 of 10 at 523,264 tokens.

The method, the caveats and the small llama.cpp loader patch used for that comparison are on the benchmarks page and the Inkling runtime page of the wiki. How this file was fitted, and the adapter tools: fitting Inkling 2 and adapters.

Download LexiSuite here

The LexiSuite USB image is in this repository too, so the model and the platform that runs it come from one place:

File lexisuite/LexiSuite-3a376f8-secureboot-dev.img.xz
Version testing image 3a376f8, 11/22/2026
Size 352,538,844 bytes
SHA-256 03d84be55792329b72ee0495e23a88e8beb62b747e77be3544f6cf266ffb5890
Licence the LexiSuite licence, in lexisuite/LICENSE (the Apache-2.0 licence of this repository covers the model file only)

This image reads the draft head from inside this model file and drafts by default, for greedy and for sampled requests. It passed its virtual-machine Secure Boot qualification on November 22, 2026. Unpack it and write it to a USB stick of 8 GB or more; writing it erases the stick. The image contains no models. It is a development and testing build.

How to run it

  1. Get LexiSuite: the image above, or from lexipanel.com/download or the releases at github.com/W61k3r/LexiSuite-Releases.
  2. Put this file in the Panel's models folder.
  3. Create an instance on a 24 GB card and set the context: up to 524,288.

From a shell:

lexi-engine --backend vulkan -m Inkling-2-Mini-8Q-RCO-GPTQ.gguf -c 524288 --host 127.0.0.1 --port 8080

The server speaks the OpenAI-compatible chat API. The cache rows are 4-bit by default.

Compatibility

  • LexiEngine, Vulkan. Developed and measured on a Radeon RX 7900 XTX. Testing image 3a376f8 (in this repository) reads the draft head from inside the file and gives the speeds in the table above. The earlier image b753bf3 loads and runs the file without the built-in draft head.
  • Stock llama.cpp, Ollama, LM Studio: not supported. Their converters and loaders expect the experts decoded and quantized again, and they do not know the tensors of the built-in draft head.
  • 24 GB cards: up to 524,288 tokens. A 1,048,576-token context needs 9.85 GB of caches with this layout and does not fit beside the weights on 24 GB.
  • Text only. Image input is not in LexiEngine's Inkling runtime yet.

About LexiSuite

LexiSuite is a self-contained platform for running models on your own hardware, written in Rust: an inference engine with its own GPU kernels (LexiEngine, Vulkan and CUDA), a browser control panel that runs models, fits and quantizes them (LexiPanel), an operating system image (LexiOS) and an experimental kernel (LexiKernel). It boots from one USB image and needs no cloud service. It is not a wrapper around llama.cpp, Ollama or vLLM.

LexiSuite images are development and testing builds, not production releases.

Licence and credit

Inkling-2-Mini is the work of Thinking Machines and is published under Apache-2.0; this quantized file is distributed under the same licence. All credit for the model goes to its authors. This repository only changes how the weights are stored.

Downloads last month
491
GGUF
Model size
26B params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Wa1k3r/Inkling-2-Mini-8Q-RCO-GPTQ

Quantized
(225)
this model