Inkling-2-Mini int4 (OpenVINO IR, text only)

thinkingmachines/Inkling-2-Mini converted to OpenVINO IR with int4 expert weights.

  • Base model: thinkingmachines/Inkling-2-Mini at revision fcd43a4241eb71e9f56f5f4d4bb125438cc613d9
  • Format: OpenVINO IR (openvino_model.xml / .bin, 13.07 GiB) with OpenVINO tokenizer and detokenizer models
  • Text only: the vision encoder and the MTP weights are not exported
  • Attention is exported as ScaledDotProductAttention (stateful KV cache); the IR's rt_info sets KV_CACHE_PRECISION=f16

Quantization recipe

Quantized by a custom exporter (not NNCF; the IR carries no NNCF metadata), read from the IR's constants:

weights format
routed experts (gate, up, down; 128 per layer) u4 asymmetric, one group per output row (the group spans the whole input), range chosen per group by a least-squared-error clip search; 11.40 GiB
every other linear, the embedding and the output head u8 asymmetric per output row, min-max range; 1.48 GiB
scales / zero points f16 scales; u4 or u8 zero points (one per row)
norms, router, convolutions, gates f32 (169 MiB)

No calibration data was used. Tool versions: OpenVINO and openvino-tokenizers 2026.4.1, transformers 5.24.0, PyTorch 2.15.0+cpu.

Run it with OpenVINO GenAI (CPU)

pip install openvino-genai==2026.4.1 huggingface_hub
import huggingface_hub as hf
import openvino_genai as ov_genai

path = hf.snapshot_download("pawanpaudel93/Inkling-2-Mini-int4-ov")
pipe = ov_genai.LLMPipeline(path, "CPU")
print(pipe.generate("What is OpenVINO?", max_new_tokens=256))

Stock OpenVINO on the CPU runs this model. Greedy output on the CPU with an f16 KV cache was identical, token for token over 512 tokens, to the OpenVINO VULKAN plugin's output in the browser.

The export's chat_template.jinja uses the {%- generation -%} tag, which some Jinja engines don't parse.

Use in the Cascadia Web Playground

The Cascadia Web Playground runs this model on the GPU in the browser through the OpenVINO VULKAN plugin (openvino-vulkan-plugin). That path needs the plugin's Inkling support (branch pawan/inkling, not yet released).

License

Apache-2.0, the license of the base model thinkingmachines/Inkling-2-Mini. The export folder had no LICENSE or NOTICE file of its own; see the base repository for the license text.

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

Model tree for pawanpaudel93/Inkling-2-Mini-int4-ov

Quantized
(480)
this model