Instructions to use JRamirez-UAB/Inkling-2-Mini-EXL3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JRamirez-UAB/Inkling-2-Mini-EXL3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="JRamirez-UAB/Inkling-2-Mini-EXL3") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("JRamirez-UAB/Inkling-2-Mini-EXL3") model = AutoModelForMultimodalLM.from_pretrained("JRamirez-UAB/Inkling-2-Mini-EXL3", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use JRamirez-UAB/Inkling-2-Mini-EXL3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "JRamirez-UAB/Inkling-2-Mini-EXL3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JRamirez-UAB/Inkling-2-Mini-EXL3", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/JRamirez-UAB/Inkling-2-Mini-EXL3
- SGLang
How to use JRamirez-UAB/Inkling-2-Mini-EXL3 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "JRamirez-UAB/Inkling-2-Mini-EXL3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JRamirez-UAB/Inkling-2-Mini-EXL3", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "JRamirez-UAB/Inkling-2-Mini-EXL3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JRamirez-UAB/Inkling-2-Mini-EXL3", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use JRamirez-UAB/Inkling-2-Mini-EXL3 with Docker Model Runner:
docker model run hf.co/JRamirez-UAB/Inkling-2-Mini-EXL3
Configuration Parsing Warning:In config.json: "quantization_config.bits" must be an int
- Inkling-2-Mini (26.4B-A3.4B) — EXL3 3.00 bpw for 24 GB GPUs (262k context, vision, DSpark MTP, served with vLLM nightly) — EXPERIMENTAL
- What is in this repository
- Results
- Sampling and repetition loops
- Known model behaviour and discarded options
- Requirements & install (vLLM nightly 0.34.0rc1.dev1136 + exllamav3 1.6.7 + vllm-quantpack 0.1.10)
- Quick start (one RTX 3090, 24 GB)
- Using it with opencode (how we tested)
- Important notes
- Quantization recipe
- Integrity and validation
- Limitations
- Feedback welcome
- Credits & license
Inkling-2-Mini (26.4B-A3.4B) — EXL3 3.00 bpw for 24 GB GPUs (262k context, vision, DSpark MTP, served with vLLM nightly) — EXPERIMENTAL
Install from this card, not from generic snippets. This is an EXL3 checkpoint of a model that only the vLLM nightly ships: vLLM loads it only with that exact nightly, exllamav3 and our
vllm-quantpackplugin (0.1.10 or later). Follow Requirements & install and Quick start; a plainpip install vllm, Transformers or SGLang cannot load it.
An unofficial community EXL3 quantization of thinkingmachines/Inkling-2-Mini, the 26.4B mixture-of-experts vision-language model (3.4B active parameters; 24 layers, 128 routed experts with 8 active, the middle layers 6-17 run three times per token). Made from an exact BF16 dequantization of the NVFP4 release: 3.00 bpw on the routed experts, 5 bits on attention, a 6-bit lm_head; the vision tower, the token embeddings and the DSpark MTP head stay BF16. 12.3 GB in total.
On one RTX 3090 (24 GB) it serves the full 262,144-token context with vision, the k8v4_per_token_head KV cache (int8 keys, int4 values) and DSpark MTP, with 777 MiB free at the peak of our test battery. Its KL divergence against the BF16 model is about 0.02, and in our sysadmin tests it scored 48/48 in reasoning, 15/15 in vision and 26/30 in agent tasks.
EXPERIMENTAL. Inkling 2 is only in vLLM's nightly builds, and its CUDA kernels there target Hopper and newer. vllm-quantpack adds the EXL3 path and loads Ampere versions of 18 of those modules, only on the exact nightly
0.34.0rc1.dev1136+gcb19fedd8(it checks each file's SHA-256 and leaves any other vLLM build alone). A different nightly will not work with this card until the plugin is updated.
Use temperature 1.0, top_p 0.95, top_k 20 (set in this repo's
generation_config.json; the base model's sets only the temperature). Inkling always reasons:chat_template_kwargs: {"enable_thinking": false}has no effect; its switch isreasoning_effort(0.0-0.99), and even at 0 it reasons briefly. Allow ≥ 4,000 output tokens. See Important notes.
License: Apache-2.0, inherited from the base model (see
LICENSEandNOTICE). This is not an official release of Thinking Machines.
Tested setup: RTX 3090 (24 GB, Ampere, power limit 300 W), vLLM nightly
0.34.0rc1.dev1136+gcb19fedd8+ exllamav3 1.6.7 + vllm-quantpack (development tree of 0.1.10),--max-model-len 262144, 2026-11-23/24: capacity, test battery, loops and speed. The Requirements & install block below was then run in a new environment with vllm-quantpack 0.1.10 from PyPI and the Quick start served text, an image and a tool call on an A40. KL divergence through vLLM on an A40. Only these setups have been tested.
Highlights (one RTX 3090 24 GB, full 262,144 context)
- KLD against BF16 (exllamav3
qbench, full distributions): 0.0147 on our opencode agent trace, 0.0156 on turboderp's public trace. - Capacity: KV pool 369,890 tokens (1.41 × 262,144): one full-length session plus shorter ones, 777 MiB free at the peak (
k8v4_per_token_head, DSpark MTP 7, vision). - Tool calls with the real opencode request: 58/60 and 56/60 in two runs; agent tasks 26/30 (9, 8, 9); reasoning 48/48 at
xhigh; vision 15/15. - Long context: needle (8 facts in one prompt) 64k / 128k / 241k: 8/8 each; 8 sessions of 30k at once: 8/8.
- Loops: 0/30 at temperature 1.0, all 30 answers finished.
- Decode, 1 / 2 / 4 / 8 requests: 83.7 / 101.0 / 128.0 / 138.3 tok/s with DSpark 7; 82.4 / 111.7 / 170.1 / 265.3 without speculative decoding.
Our focus. We quantize and evaluate models for one use case: a local Linux system-administration agent (opencode with tool calling) for a university IT department, used in Spanish. Our calibration traces include real sysadmin/agent conversations in Spanish, and our quality checks (tool calls with the real opencode request, agent tasks with real command execution, long-context retrieval, long answers in Spanish) reflect that use. KL divergence is also reported on turboderp's public trace, so it can be compared and reproduced. Numbers for other domains or languages may differ.
What is in this repository
Which one to use
| GPU | Configuration | Context per session | Real concurrent sessions | KV cache | Speculative decoding |
|---|---|---|---|---|---|
| 24 GB (RTX 3090) | this repo, Quick start | 262,144 with vision | 1 full-length session (pool 1.41 × 262,144); 8 sessions of 30k measured | k8v4_per_token_head, 369,890 tokens |
DSpark 7 |
| 16 GB | — | — | — | — | not possible with any size (12.3 GB of weights here; 10.7 GB on 2.5bpw) |
Other sizes in this repository (branches, the user's choice)
main is our pick. The other bit widths of the routed experts are in branches, as is, with the limitations measured on each branch's card (short test battery only, on the same RTX 3090 at 262,144 with vision and DSpark 7). Download one with hf download JRamirez-UAB/Inkling-2-Mini-EXL3 --revision <branch> --local-dir <dir> and serve the local directory.
| Branch | Routed experts | Size | KLD opencode / public (qbench) |
--kv-cache-memory-bytes |
KV pool | Free at the peak | Notes |
|---|---|---|---|---|---|---|---|
main (recommended) |
3.00 bpw | 12.31 GB | 0.0147 / 0.0156 | 8600000000 | 369,890 (1.41 ×) | 777 MiB | full battery |
2.5bpw |
2.50 bpw | 10.70 GB | 0.0305 / 0.0326 | 8600000000 | 369,890 (1.41 ×) | 2,277 MiB | short battery passed |
3.5bpw |
3.50 bpw | 13.84 GB | 0.0091 / 0.0100 | 7500000000 | 322,535 (1.23 ×) | 335 MiB | tools 28/30 |
4.0bpw |
4.00 bpw | 15.45 GB | 0.0058 / 0.0064 | 6400000000 (+ --max-num-batched-tokens 2048) |
301,157 (1.15 ×) | 1,137 MiB | 128k needle 0/8 at temperature 0 (8/8 with the card's sampling) |
Files and reproducibility
| File | What it is |
|---|---|
model-00001-of-00002.safetensors, model-00002-of-00002.safetensors, model.safetensors.index.json |
EXL3 weights (11.63 GB) with the BF16 vision tower, and their index |
mtp.safetensors |
the base model's DSpark MTP head, BF16, unchanged (0.64 GB) |
quantization_config.json |
exllamav3's per-tensor storage record (bits per tensor; calibration size only, no text) |
config.json, generation_config.json |
model config with the EXL3 quantization_config; sampling defaults (temperature 1.0, top_p 0.95, top_k 20) |
chat_template.jinja, tokenizer.json, tokenizer_config.json, special_tokens_map.json, processor_config.json |
chat template, tokenizer and image processor of the base model |
LICENSE, NOTICE |
Apache-2.0 text and the list of changes made to the base model |
SHA256SUMS |
SHA-256 of every file above except this card |
Not included: the BF16 reference, the calibration data (internal), the plugin (install it from PyPI, see below), the base model's tiktoken/ directory (vLLM does not use it).
Results
Unless stated otherwise: one RTX 3090 24 GB, the stack of Tested setup, the Quick start settings (k8v4_per_token_head, --kv-cache-memory-bytes 8600000000, --max-num-seqs 8, --max-num-batched-tokens 6144, DSpark 7), temperature 1.0 / top_p 0.95 / top_k 20, 2026-11-24.
Quantization quality
| Measurement | Result |
|---|---|
| KLD through vLLM, opencode agent trace (ours, 24 conversations, 39,069 scored tokens), top-20 log-probabilities, A40 | 0.0144, top-1 agreement 0.955 |
exllamav3 qbench (full distributions), opencode agent trace |
0.0147 (perplexity 2.739 vs 2.731 BF16) |
exllamav3 qbench, public trace (qbench_prompts_gen.json, turboderp) |
0.0156 (perplexity 1.997 vs 1.992 BF16) |
| KLD with the exllamav3 port on 3,000 tokens of Linux man pages | 0.0223, top-1 agreement 0.959 |
The top-20 vLLM estimate leaves out the tail of the distribution, so it reads lower than qbench. An earlier version of this card said qbench could not score this conversion: our exllamav3 port derived a loop tensor while the weights were still being loaded (deferred load), which gave non-finite logits on some sequences; fixed on 2026-11-24, and all the qbench numbers here are from the fixed port with a recomputed BF16 reference. The reference is the BF16 dequantization of the NVFP4 release, which is itself a quantized model.
Capacity on one RTX 3090 (24 GB)
--kv-cache-memory-bytes |
KV pool reported by vLLM | Real concurrent sessions | Peak used (nvidia-smi, of 24,123 MiB usable) |
|---|---|---|---|
| 8600000000 (Quick start) | 369,890 tokens (1.41 × 262,144) | 1 full-length; 8 × 30k at once | 23,346 MiB, 777 MiB free (battery without agents and games) |
| 9000000000 | 387,085 tokens (1.48 ×) | 1 full-length | 24,119 MiB, 4 MiB free: too tight, not recommended |
| 9000000000 without speculative decoding | 473,238 tokens (1.81 ×) | not load-tested | 20,438 MiB in the speed test |
With 9,740,000,000 bytes vLLM ran out of memory during a 64k-128k prefill. The peak comes from 8 simultaneous long reasoning requests, not from the 241k prefill.
Test battery
| Test | Result |
|---|---|
| Smoke: 3 long Spanish sysadmin answers with temperature 1.0 / top_p 0.95 / top_k 20, plus 1 with the server defaults | all finished (2,889-5,331 tokens), 0 CJK characters, no loops |
Tool calls, real opencode request, 3 cases × 20 (xhigh) |
58/60 (20, 18, 20) and 56/60 (20, 16, 20) in two runs; 0 invalid calls |
| Tool calls, battery | 30/30 and 28/30 in two runs, 0 errors |
Agent tasks, opencode run, 10 sysadmin tasks × 3 runs (temperature 1.0) |
9/10, 8/10, 9/10 = 26/30 (KV 9.0e9 run); 9/10, 9/10 again with the card's sampling |
Reasoning, 6 problems × 8 at xhigh |
48/48, 46,198 reasoning tokens (median 622.5), 0 cut by the limit |
| Vision (4 images, see below) | 15/15 |
Needle, 8 facts in one prompt (reasoning_effort 0, temperature 0) |
64k 8/8 · 128k 8/8 · 241k 8/8 |
| 8 sessions of 30k tokens at once | 8/8 retrieved, 1,923 tok/s aggregate prefill |
| Small games (write and run code) | 24/26 points, 2 of 4 programs ran |
| Decode, 1 / 2 / 4 / 8 requests (DSpark 7) | 83.7 / 101.0 / 128.0 / 138.3 tok/s |
The battery ran in several passes with the same model and flags: smoke, decode speed, the second tool-call run and reasoning with the Quick start's 8.6e9 bytes of KV; agents, games, the first tool-call run, the needle, vision and sessions with 9.0e9 bytes (a slightly larger pool). The first pass used the battery's older 200 / 400-token limits for the session and vision checks, which Inkling's always-on reasoning used up (see Known model behaviour); vision and sessions above are from a pass with 4,096-token limits.
Vision
| Test | Result |
|---|---|
| Our 4-image test (screenshots of a failing systemd unit, a chart, an nftables listing and a port conflict) | 15/15 |
| Clean install from PyPI, one screenshot (A40) | correct: names the failing unit and its state |
Speed with and without speculative decoding
1, 2, 4 and 8 concurrent requests, the card's sampling, k8v4_per_token_head KV with 9.0e9 bytes. Acceptance = mean accepted length per step.
| 1 request | 2 requests | 4 requests | 8 requests | Acceptance | |
|---|---|---|---|---|---|
| No speculative decoding | 82.4 | 111.7 | 170.1 | 265.3 tok/s | — |
| DSpark 7 | 82.2 | 102.0 | 117.3 | 133.1 tok/s | 2.25 |
At this sampling DSpark does not speed up decoding on the 3090 (in a greedy single-request test it gave 96.8 against 81.2 tok/s). The Quick start keeps it because it is the configuration the battery validated; see Discarded options for running without it.
Sampling and repetition loops
5 long Spanish sysadmin questions × 6 runs per temperature, up to 16,000 tokens, top_p 0.95 and top_k 20, 8 sequences; a loop = more than 30 % repeated word 8-grams.
| Temperature | 0.6 | 0.8 | 1.0 |
|---|---|---|---|
| Loops / 30 | 7 | 3 | 0 |
| Answers that finished before 16,000 tokens / 30 | 22 | 25 | 30 |
| Empty answers / 30 | 8 | 3 | 0 |
| Mean tokens per answer | 8,421 | 8,316 | 7,289 |
Use temperature 1.0 with top_p 0.95 and top_k 20; generation_config.json sets them and vLLM uses them as the server defaults. At lower temperatures the model loops inside its reasoning until the limit (the empty answers).
Known model behaviour and discarded options
- Reasoning cannot be turned off. The chat template ignores
enable_thinking;reasoning_effort0 shortens the reasoning but does not remove it (the base model card says the same). Consequences we measured:- with 200-700 output tokens, answers come back empty: our vision check scored 5/15 and the 8 × 30k sessions 0/8 with those limits, and 15/15 and 8/8 with 4,096;
- with
enable_thinking: falseand temperature 0, a 64k retrieval prompt sent the model into copying the context inside its reasoning until the limit (0/8, empty answer); the same prompt withreasoning_effort0, with the default reasoning, or with the card's sampling (3 of 3) answered 8/8. The path depends on the GPU's numerics: the same prompt passed on an A40.
- Weak case in tool calls: with a long user prompt followed by a request to list files, 16-18 of 20 calls were correct.
- Model or quantization? The BF16 model was not run through the battery on this card (it needs more than 24 GB); the KL divergence above is the measure of the quantization.
- Discarded options:
- No speculative decoding: faster with 2 or more requests (see Speed) and a larger KV pool (473,238 tokens at 9.0e9 bytes). Remove
--speculative-configto use it; its peak under the full battery was not measured, so keep--kv-cache-memory-bytes 8600000000. - DSpark with fewer draft tokens: the checkpoint's head requires exactly 7 (
num_speculative_tokens3 fails at start-up). int4_per_token_headKV: about 2 sessions of 258k at once (2.14 × 262,144), but worse long-context recall in our 258k test (a secondary question answered wrong wherek8v4_per_token_headanswered right).- 2.50 / 3.50 / 4.00 bpw as
main: 3.50 and 4.00 have lower KLD but leave less room for the KV cache on 24 GB (and 4.00 needs a smaller prefill batch); 2.50 has about twice the KLD. They are available as branches (see Other sizes in this repository).
- No speculative decoding: faster with 2 or more requests (see Speed) and a larger KV pool (473,238 tokens at 9.0e9 bytes). Remove
Requirements & install (vLLM nightly 0.34.0rc1.dev1136 + exllamav3 1.6.7 + vllm-quantpack 0.1.10)
Before you install (checked on our Ubuntu 26.04 hosts on 2026-11-24):
- An NVIDIA GPU of compute capability 8.0 or newer and a driver that supports CUDA 13.2 (tested with 595.91), uv and git.
- The CUDA toolkit 13.2 (
nvcc): exllamav3 1.6.7 publishes no wheel for torch 2.14, so it is built from source below (about 10 minutes with 16 parallel jobs); vllm-quantpack also compiles Inkling's fused expert kernel the first time vLLM starts. - A C compiler (
build-essential). We use uv's own Python (--managed-python), which includes the headers Triton needs. - Disk: about 6 GB for the venv, as much again for uv's cache (
uv cache cleanfrees it), plus 13 GB for the model.
The vLLM build must be exactly the nightly below (wheels.vllm.ai keeps one per commit). vllm-quantpack (ours, on PyPI) adds the EXL3 path for Inkling 2 (attention, routed experts with the model's softcapped SwiGLU on a fused decode kernel, DSpark with an EXL3 main model, the k8v4_per_token_head KV type) and the Ampere modules.
uv venv --python 3.12 --managed-python venv
uv pip install --python venv/bin/python "vllm==0.34.0rc1.dev1136+gcb19fedd8" --torch-backend=auto \
--extra-index-url https://wheels.vllm.ai/cb19fedd85f55e4c09ce76ab95b3a70fe4b5872a --index-strategy unsafe-best-match
uv pip install --python venv/bin/python ninja packaging setuptools wheel
git clone --depth 1 --branch v1.6.7 https://github.com/turboderp-org/exllamav3 exllamav3-src
export CUDA_HOME=/usr/local/cuda-13.2 PATH=/usr/local/cuda-13.2/bin:$PATH
TORCH_CUDA_ARCH_LIST="8.6" MAX_JOBS=16 uv pip install --python venv/bin/python --no-build-isolation ./exllamav3-src # 8.6 = RTX 3090 / A40; add yours
uv pip install --python venv/bin/python "vllm-quantpack>=0.1.10"
venv/bin/python -c "import torch, vllm, vllm_quantpack; from exllamav3.ext import exllamav3_ext; print(vllm.__version__, vllm_quantpack.__version__, torch.cuda.get_device_name(0))"
At start-up the log must show vllm-quantpack: Inkling2 Ampere backports active (18 modules) on an Ampere GPU.
Quick start (one RTX 3090, 24 GB)
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True VLLM_DISABLE_SHARED_EXPERTS_STREAM=1
venv/bin/vllm serve JRamirez-UAB/Inkling-2-Mini-EXL3 \
--served-model-name inkling \
--max-model-len 262144 \
--kv-cache-dtype k8v4_per_token_head \
--kv-cache-memory-bytes 8600000000 \
--max-num-seqs 8 \
--max-num-batched-tokens 6144 \
--limit-mm-per-prompt '{"image":1,"video":0}' \
--speculative-config '{"method":"dspark","num_speculative_tokens":7}' \
--reasoning-parser inkling \
--enable-auto-tool-choice --tool-call-parser inkling
On a card that also drives a display, lower --kv-cache-memory-bytes by what the desktop uses. On 48 GB cards raise it for more sessions.
Using it with opencode (how we tested)
limit.context must match --max-model-len (262144 above).
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"local-vllm": {
"npm": "@ai-sdk/openai-compatible",
"name": "local vLLM",
"options": { "baseURL": "http://127.0.0.1:8000/v1" },
"models": {
"inkling": {
"name": "Inkling-2-Mini EXL3 3.00 (local)",
"tool_call": true,
"temperature": true,
"limit": { "context": 262144, "output": 32768 }
}
}
}
},
"agent": {
"build": { "model": "local-vllm/inkling", "temperature": 1.0 },
"plan": { "model": "local-vllm/inkling", "temperature": 1.0 }
}
}
- Declare
"temperature": truein the model, otherwise opencode sends no temperature to a custom model. - opencode sends no
top_p/top_k, so the server defaults fromgeneration_config.jsonapply. - The agent and tool tests in Results ran opencode against the Quick start server with this configuration.
Important notes
VLLM_DISABLE_SHARED_EXPERTS_STREAM=1keeps vLLM from running parts of the MoE layer on a parallel CUDA stream next to the fused EXL3 expert kernel.- Memory. The driver reserves about 453 MiB of a 24 GB card that vLLM cannot use: read the real headroom with
nvidia-smi --query-gpu=memory.free. Size the KV cache with--kv-cache-memory-bytes, not--gpu-memory-utilization. 9.0e9 bytes left only 4 MiB free under our battery. - Reasoning counts towards
max_tokensand cannot be disabled: allow ≥ 4,000 tokens. To shorten it, send"reasoning_effort": 0.0(up to 0.99) inchat_template_kwargs;enable_thinkingis ignored by this model's template. - Hugging Face page warnings: the "Model size" shown by Hugging Face counts packed storage elements, not parameters; the Configuration Parsing Warning about
quantization_config.bitsnot being an integer is expected (EXL3bitsis an average). - Use
--tool-call-parser inklingand--reasoning-parser inkling. - One GPU per instance: the EXL3 MoE path was not tested with tensor or expert parallelism.
Quantization recipe
| Step | Setting |
|---|---|
| Source | thinkingmachines/Inkling-2-Mini revision 7a67ae23 (NVFP4 / MXFP8 release), dequantized exactly to BF16; chat template, tokenizer and processor unchanged |
| Tool | exllamav3 1.6.7 convert_model with our Inkling 2 architecture definition (the three passes of a looped layer share one set of quantized tensors; not part of exllamav3), RTX PRO 6000 Blackwell |
| Routed experts | 3.00 bpw (-b 3.0) |
| Attention | 5 bits (-hq 1) |
lm_head |
6 bits |
| Vision tower, token embeddings, MTP head | BF16 (mtp.safetensors copied from the source) |
| Calibration | 583 rows × 11,631 columns built from our internal sysadmin agent conversations and agent steps written by the model; not published, and no text is stored in the weights |
Integrity and validation
Artifact integrity
SHA256SUMSlists every file; the verifier compares the repo with our local copy byte for byte before publication.- The safetensors files carry no
__metadata__text;quantization_config.jsonholds only bit widths, tensor layout and the calibration size (rows and columns).
Quantization
- KL divergence against the BF16 dequantization through vLLM (and through our exllamav3 port on a shorter text), see Results.
- Logits of vLLM + vllm-quantpack 0.1.10's code on a 2,873-token prompt match the earlier patched-nightly build on this pack: top-1 2,870 / 2,873, mean |Δ log-prob| 0.006; with DSpark 7 and
k8v4_per_token_headKV, 2,867 / 2,873 and 0.007.
Runtime
- Capacity, test battery, vision, loops and speed: see Results.
- Clean install: the Requirements & install block in a new environment (vllm-quantpack 0.1.10 from PyPI) and the Quick start on an A40: a Spanish answer with no CJK characters, an image question and a tool call, all correct; the 18 Ampere modules loaded (2026-11-24).
- On the RTX 3090 (a second host): the install block in a new environment, this repository downloaded from Hugging Face (SHA256SUMS checked) and served with the Quick start command as written: 18 Ampere modules active, KV pool 369,890 tokens; 4 long Spanish answers (3 with the server defaults, 1 at temperature 0): no CJK characters, no repetition; 1 finished and 3 reached our 3,000-token check limit (the model writes long answers); peak 21,574 MiB during that check (2026-11-24).
Scope: results apply to the stack, the RTX 3090 and the settings stated above; other setups are not tested.
Limitations
- Review the commands before they run. As an agent, the model proposes shell commands and opencode can execute them: give it a non-privileged account and a test machine where you can.
- Needs the exact vLLM nightly named above; will not load with stock vLLM releases, Transformers or SGLang.
- Only one full-length 262,144-token session fits at once on 24 GB.
- Not measured: the battery on the BF16 model, the 16 GB size, video input, several images per request, GPUs newer than Ampere, and the base model's own benchmarks on this quantization. The calibration and the opencode trace are internal.
- The EXL3 path for Inkling 2, the Ampere modules and
k8v4_per_token_headare our own plugin code, not upstream vLLM.
Feedback welcome
Reports of installations, both working and failed ones, are very welcome in the Community tab: GPU(s), driver, vLLM version, the full command line and the result (speed, context, or the error).
Credits & license
- Base model: thinkingmachines/Inkling-2-Mini by Thinking Machines Lab (Apache-2.0).
- exllamav3 by turboderp (quantization, kernels,
qbench); EXL3 is based on QTIP (Tseng et al.). - vLLM (the Inkling 2 model of its nightly builds); vllm-quantpack (ours, Apache-2.0).
- This quantization is released under the same license as the base model (Apache-2.0); the changes are listed in
NOTICE.
- Downloads last month
- -
Model tree for JRamirez-UAB/Inkling-2-Mini-EXL3
Base model
thinkingmachines/Inkling-2-Mini