Inkling-2-Mini-QVB8-5e-4
โก Runs on the QVB8 Inference Engine
This pack is made for the QVB8 Inference Engine. It does not load in
transformersor other engines. The engine decodes the compressed weights on the GPU, inside its own CUDA kernels, so a large model runs on small hardware. Get the engine: github.com/addiesam/qvb8 -- use v1.3.0 or later (release).
Certified Lโ-bounded compression: for every restored weight, the error against the original is less than the error bound tau.
Why this pack
The compression itself is modest โ but that is not the point. The important part is that the QVB8 Inference Engine runs Inkling-2-Mini with an operating VRAM footprint close to the compressed file size: this pack is 18 GB on disk, and the engine decodes the weights on the GPU inside its own CUDA kernels, so the model runs with roughly that much VRAM instead of the full bf16 checkpoint.
On top of that, the engine's QVB8 KV Cache makes long context possible: the keyโvalue cache is also compressed and decoded on the GPU, so long-context runs that would not fit in memory with a standard engine become feasible on small hardware.
The Inkling-2-Mini language model, compressed with QVB8 at tau = 0.0005. This is a weight pack for the
QVB8 inference engine; it is not loadable by transformers directly.
| Source model | thinkingmachines/Inkling-2-Mini (bf16) |
| Format | QVB8 |
| Certified for | fp16 and bf16 (restore: fp16+bf16 in manifest.json) |
| tau | 0.0005 (for every restored weight, the error against the original bf16 value is less than tau) |
| Vision tower | not compressed: the original bf16 weights, stored in model.safetensors, so image features are exact; the pack is self-contained (nothing is read from the source checkpoint) |
| Compressed tensors | 6,525, average 5.37 bits per weight over them |
| Size on disk | 18 GB |
Download
All packs of this model. Use one target pack with the QVB8 Inference Engine.
| Pack | Format | tau | Size | Download |
|---|---|---|---|---|
| Inkling-2-Mini | qvb8 | 5e-4 | 18 GB | Inkling-2-Mini-QVB8-5e-4 |
| Inkling-2-Mini | qvb8 | 1e-3 | 18 GB | Inkling-2-Mini-QVB8-1e-3 |
Why certified Lโ-bounded compression?
Most quantization is judged by an average: a perplexity or benchmark score. An average hides the worst case. A format can look good on average and still leave a few weights with a large error, and a large error in the wrong weight can flip a single token. The result is a sudden wrong word or a stray character from another language in the middle of a normal answer, which an average score may not show. In our own tests with a 4-bit floating-point format we saw this in server logs.
Lโ-bounded means the largest error is controlled, not the average. For this pack:
- every restored weight differs from the original by less than tau (0.0005), and no tensor is allowed to exceed it;
- the check is made after packing, tensor by tensor, and the largest error found is stored in
manifest.json(max_err); - tau is your choice: a smaller tau is a tighter bound, a larger file and a perplexity closer to the original; a larger tau is a smaller file and a higher perplexity. You choose the trade-off knowing the worst case.
What the bound does not do: it covers the stored weights only. It does not promise that the model's answers are identical to the original's, or correct. Even with the exact same unquantized FP16 weights, different inference engines, batch sizes, or floating-point operation orders will still produce slightly different outputs due to non-associative GPU math. See the engine README for the full disclaimer.
How it was made
Each weight matrix is packed with a per-row bit width and checked after packing: the largest error between the
restored value and the original bf16 weight is recorded per tensor in manifest.json (max_err), and no tensor
exceeds tau. The packing uses no calibration data; it depends only on the weights.
Use
Install the engine (https://github.com/addiesam/qvb8), then follow its README. The target pack is passed as MODEL.
Update history
2026-11-22: first release (with QVB8 Inference Engine v1.3.0)
- The weight pack, certified for fp16 and bf16 (
restore: fp16+bf16inmanifest.json);max_errper tensor is stored inmanifest.json. escape_tables.jsonis included: for an fp16 run the engine reads only the fp16 table, which speeds up decoding; bf16 runs are unchanged. Use the engine v1.3.0 or later.
License and credits
The weights are derived from thinkingmachines/Inkling-2-Mini (Apache-2.0) by Thinking Machines Lab; this pack keeps that license.
The engine code is Apache-2.0. No warranty is given: see the engine README for the full disclaimer.
Support this work
I am an independent researcher, and I publish these packs and the engine openly. I need machines to run more tests: other GPU generations, and more models. If this is useful to you, please support the work:
Sponsor Dr. Addie Sam on GitHub
Papers
Sam, Chi Ngai. Certified Lโ-Bounded Compression for AI Models, I: The Contract and the Virtual-Band Index. doi:10.5281/zenodo.23815007
Sam, Chi Ngai. Certified Lโ-Bounded Compression for AI Models, II: Compressing a Language Model's Weights, KeyโValue Cache and Activations. doi:10.5281/zenodo.23816044
- Downloads last month
- 45
Model tree for addiesam/Inkling-2-Mini-QVB8-5e-4
Base model
thinkingmachines/Inkling-2-Mini