inkling-2-mini on Tenstorrent p300x2 and p150x4 and p300 and p150x2 and p150
Serves thinkingmachines/Inkling-2-Mini by Thinking Machines Lab, unmodified, with the checkpoint's own DSpark drafter (mtp.safetensors) for speculative decoding. See the original model card for training and evaluation details.
Inkling-2-Mini, a 26.4B-parameter looped mixture-of-experts model (3.4B parameters active per token; 24 layers of which 12 run three passes, 128 routed experts top-8, sliding-window and global attention with a relative position bias), with image input. Served through vLLM with tensor-parallel attention and experts, speculative decoding with the checkpoint's DSpark drafter (3 drafts per pass) for a user decoding alone, prefix caching, on-device sampling, reasoning and tool calling.
Runs on Tenstorrent p300x2 or p150x4 or p300 or p150x2 or p150 β see the serving profiles below.
Packaged and published with tt-model-manager 0.1.0 (manifest schema 5.1).
At a glance
| Hardware | p150, p150x2, p150x4, p300, p300x2 |
| Context | 1,048,576 tokens |
| License | apache-2.0 |
Intended use
Chat, coding, reasoning and agent use (tool calls) over text and images (text only on p150-long), for up to 32 (4 dies), 16 (2 dies) or 8 (1 die) concurrent users.
Prerequisites
- The Tenstorrent CLI,
tt:uv tool install tenstorrent(or use tt-model alone, see the Quickstart) - Docker
- Tenstorrent hardware: p300x2 or p150x4 or p300 or p150x2 or p150
Quickstart
tt serve raahemnabeel/inkling-2-mini
tt serve downloads the Docker image and the thinkingmachines/Inkling-2-Mini at ed40e7da625f594fc9c4990f5f66be24873c22d7 weights (into your HF cache; they are not in the image), then starts an OpenAI-compatible server on port 20000 (or the next free port, if that one is busy). The first start compiles kernels for your device, which takes several minutes; the server is ready when it logs Application startup complete.
Without tt-cli: tt-model serve raahemnabeel/inkling-2-mini.
Inkling-2-Mini reasons before it answers by default (effort 0.9), often for 10,000 - 50,000 tokens on hard
questions: give requests a large max_tokens (the evals below use 65,536; at 16,384 about 1 in 6 long-document
answers is cut off before it answers), or turn reasoning down per request with
"chat_template_kwargs": {"reasoning_effort": "none"} (or a number from 0.0 to 0.99). The checkpoint's default
sampling is temperature 1.
Serving profiles
Select a different serving profile using --profile.
| profile | hardware | mesh | max_num_seqs | max_model_len | description |
|---|---|---|---|---|---|
p300x2 |
p300x2 | P300x2 | 32 | 1048576 | Two p300 boards (4 dies, tensor parallel 4), 32 sequences sharing a 1.7M-token KV pool, up to 1,048,576 tokens per request. The fastest profile. |
p150x4 |
p150x4 | P150x4 | 32 | 1048576 | Four p150 boards (4 dies), same configuration as p300x2. Not run on p150 boards (the identical (1,4) mesh). |
p300 (default) |
p300 | P300 | 16 | 491520 | One p300 board (2 dies, tensor parallel 2), 16 sequences sharing a 491,520-token context. |
p150x2 |
p150x2 | P150x2 | 16 | 491520 | Two p150 boards (2 dies), same configuration as p300. Not run on p150 boards (the identical (1,2) mesh). |
p150 |
p150 | P150 | 8 | 32768 | One p150 (1 die), 8 sequences sharing a 32,768-token context, speculative decoding at every length (the bfp8 experts take 27 of the die's 31.5 GiB). p150-long has a larger context, text only, without it. |
p150-long |
p150 | P150 | 8 | 57344 | One p150 (1 die), 8 sequences sharing a 57,344-token context, text only, no speculative decoding. |
Capabilities
The server speaks the OpenAI API at http://127.0.0.1:20000/v1 (or whichever port your serve command reported; chat completions, completions, and /v1/models). Pass "model": "thinkingmachines/Inkling-2-Mini" β the weights id, not this package's name.
Tool calling is enabled (--tool-call-parser inkling): a request that passes tools comes back with tool_calls and finish_reason: tool_calls.
Reasoning output is separated (--reasoning_parser inkling): the thinking text arrives in reasoning, apart from content.
Images go in chat messages as image_url content parts, several per message and interleaved with text (up to
4,095 image tokens per image, one token per 40 x 40 pixel patch); a larger image is rejected with HTTP 400.
p150-long is text only.
Speculative decoding serves a request while it is the only one decoding; with more requests the server decodes one token per step for all of them. Drafts are accepted with the standard min(1, p / q) rule, so sampled outputs keep the target model's distribution.
Prefix caching: a prompt of 512 tokens or more leaves a snapshot at its last 64-token boundary, and a later request that starts with the same tokens (the same prompt again, the next turn of a chat, another question about the same document) resumes from it (16 snapshots kept on 2 and 4 dies, 1 on one die; least recently used first out).
Every profile: routed experts at bfp8 (dequantized from the checkpoint's NVFP4 / MXFP8), bf16 KV cache.
Expected performance
Accuracy: teacher forcing against the Hugging Face model (transformers 5.24, CPU) on 8 held-out texts (chat in three languages, code, docs, competitive programming); top-1 agreement / top-1 on confident tokens / KL over the reference's top 32:
| path | top-1 | top-1 (confident) | KL |
|---|---|---|---|
| reference noise floor: fp32 vs bf16 CPU model | 0.975 | 0.998 | 0.010 |
| prefill (1 die, 512-token chunks) | 0.969 | 0.996 | 0.014 |
| prefill (2 dies, 1024-token chunks) | 0.971 | 0.996 | 0.014 |
| prefill (4 dies, 2048-token chunks) | 0.969 | 0.996 | 0.012 |
| decode (1 die, 8 x 736 steps) | 0.966 | 0.996 | 0.014 |
| decode (2 dies, 8 x 736 steps) | 0.969 | 0.996 | 0.014 |
| decode (4 dies, 8 x 736 steps) | 0.967 | 0.994 | 0.017 |
| decode, 32-wide batch (4 dies, 8 x 736 steps) | 0.970 | 0.995 | 0.017 |
Per text, the decode KL is 0.003 - 0.015 on six texts and 0.03 - 0.07 on code_mbpp. Long context: a passphrase planted at 10 / 50 / 90 % depth of 135K, 539K and 1,031K-token prompts is retrieved on 4 dies. Teacher forcing on 32K and 64K-token documents (two novels, one code repository; positions through the whole document) stays at the noise floor: top-1 0.965 - 0.985, KL 0.002 - 0.004, no drift with depth.
Served evals with each benchmark's official code (its prompts, answer extraction and scoring), run against this server (p300x2, vLLM) with no external API or LLM judge; random samples (seed 1234), +/- one standard error:
| eval (official code) | items | this server | Thinking Machines' card |
|---|---|---|---|
| GPQA Diamond (openai/simple-evals 652c89d) | 198 (all, 1 repeat) | 85.4% +/- 2.5 | - |
| MMMU-Pro, standard 10 options, CoT (MMMU-Benchmark/MMMU b26bdef) | 300 | 70.7% +/- 2.6 | 74.9% |
| LongBench v2, CoT (THUDM/LongBench 2e00731) | 150 (stratified by length) | 64.7% +/- 3.9 | 66.9% |
LongBench v2 by length: short 63.0% (54), medium 65.6% (64), long 65.6% (32); easy 77.2%, hard 57.0%. An earlier run with our own prompts agreed (MMMU-Pro 72.0% +/- 1.8 on 600 items, LongBench v2 61.0% +/- 3.4 on 200).
Where this differs from the official harnesses, and what could not be replicated:
- Thinking Machines has not published how it ran its evals (prompts, sampling, output budget, harness), so their numbers could not be reproduced setup for setup; the gaps above (MMMU-Pro -4.2 points = 1.6 SE, LongBench v2 -2.2 = 0.6 SE) may come from setup as well as from this port. No Thinking Machines GPQA number is compared here.
- Samples, not full sets (MMMU-Pro 300 of 1,730, LongBench v2 150 of 503; GPQA with 1 repeat where simple-evals defaults to 10), to fit the time available.
- Output budget 65,536 tokens in all three (the scripts hardcode 1,024 / 4,096 / 1,024), since the model reasons for thousands of tokens; only the final answer (not the reasoning) is scored. Answers still cut off at 65,536 tokens count as wrong (GPQA 6, MMMU-Pro 4, LongBench v2 1).
- Temperature 1.0 (the checkpoint's default) in all three; the official scripts use 0.5 (simple-evals sampler), the API default (MMMU) and 0.1 (LongBench).
- LongBench v2 truncates prompts to 980,000 tokens (the 1M context minus the output budget, following the official config's pattern); 10 of the 150 items were truncated.
- Plumbing only: local server URL and model name, pinned tokenizer, longer timeouts, resumable runs, and two MMMU script bugs fixed (an argument-count check, and a filename pattern that skipped the standard-10 results).
Speed at the checkpoint's default sampling (temperature 1), one user: three held-out texts (math, code, chat) as 300-token prompts, 256 output tokens, streamed, decode tok/s = 1000 / TPOT, the mean of the three texts (median of 5 runs each); TTFT on 1,024 / 4,096-token prompts; 8 users x 128 / 128 tokens at once (total output tok/s; the load benchmark below):
| Profile | Decode, temperature 1 (tok/s) | Without speculative decoding, temperature 1 (tok/s) | Decode, greedy (tok/s) | TTFT 1K / 4K (s) | 8 users x 128 tokens (total tok/s) |
|---|---|---|---|---|---|
| p300x2 | 171.9 | 122.4 | 172.5 | 0.244 / 0.644 | 406.1 |
| p300 | 130.6 | 96.6 | 127.9 | 0.291 / 1.081 | 285.2 |
| p150 | 83.2 | 67.0 | 89.3 | 0.525 / 2.035 | 171.8 |
| p150-long (text only, no speculative decoding) | 67.2 | 67.2 | 67.2 | 0.486 / 1.983 | 169.7 |
The speculative gain depends on the text (at temperature 1: p300x2 math 207, code 187, chat 123 tok/s; p300 math 159, code 138, chat 96; p150 math 101, code 83, chat 66). On chat, where few drafts are accepted, it decodes at about the plain rate.
Load benchmark (tools/bench_card.py): random-token prompts of exactly the input length (ISL), output pinned with
ignore_eos (OSL), greedy, streamed; every request a distinct prompt (no prefix-cache hits); concurrency users in
a closed loop, 2 requests each, run 5 times (N = all requests); TTFT = time to first streamed token (median of the 5
runs' means, with their range); prefill = ISL / TTFT; decode = 1 / TPOT per user, TPOT = (E2EL - TTFT) / (OSL - 1);
total = output tokens / wall time (median, range). On random-token prompts the greedy continuation is repetitive and
drafts unusually well, so the one-user rows overstate what real text decodes at (table above).
| Profile | ISL | OSL | Concurrency | N | TTFT (ms) | Prefill (tok/s) | Decode (tok/s/u) | Total (tok/s) | E2EL (s) |
|---|---|---|---|---|---|---|---|---|---|
| p300x2 | 128 | 128 | 1 | 10 | 142 (141-143) | 901 | 122.8 | 108.7 (104.2-143.5) | 1.18 |
| p300x2 | 1,024 | 256 | 1 | 10 | 244 (239-244) | 4,197 | 159.9 | 139.2 (104.1-215.2) | 1.84 |
| p300x2 | 4,096 | 256 | 1 | 10 | 644 (643-654) | 6,360 | 259.3 | 157.3 (113.1-162.7) | 1.63 |
| p300x2 | 128 | 128 | 8 | 80 | 386 (362-401) | 332 | 59.3 | 406.1 (395.6-408.8) | 2.52 |
| p300x2 | 1,024 | 256 | 8 | 80 | 1,331 (1,321-1,334) | 769 | 65.3 | 391.6 (389.3-395.6) | 5.23 |
| p300x2 | 128 | 128 | 16 | 160 | 603 (590-616) | 212 | 38.6 | 525.0 (520.3-537.7) | 3.90 |
| p300x2 | 128 | 128 | 32 | 320 | 1,081 (1,077-1,103) | 118 | 24.4 | 649.1 (640.5-655.1) | 6.31 |
| p300x2 | 1,024 | 256 | 32 | 320 | 4,924 (4,920-4,943) | 208 | 24.9 | 539.8 (537.1-542.8) | 15.17 |
| p300 | 128 | 128 | 1 | 10 | 179 (178-188) | 715 | 97.1 | 86.0 (82.7-127.3) | 1.49 |
| p300 | 1,024 | 256 | 1 | 10 | 291 (290-293) | 3,519 | 175.9 | 147.0 (83.6-159.4) | 1.74 |
| p300 | 4,096 | 256 | 1 | 10 | 1,081 (1,074-1,082) | 3,789 | 183.8 | 103.7 (78.3-105.3) | 2.47 |
| p300 | 128 | 128 | 8 | 80 | 431 (391-432) | 297 | 40.2 | 285.2 (278.4-286.3) | 3.59 |
| p300 | 1,024 | 256 | 8 | 80 | 2,046 (2,043-2,048) | 500 | 45.8 | 268.9 (263.6-275.8) | 7.61 |
| p300 | 128 | 128 | 16 | 160 | 705 (687-713) | 182 | 26.6 | 374.0 (368.4-383.9) | 5.47 |
| p300 | 1,024 | 256 | 16 | 160 | 4,082 (4,081-4,085) | 251 | 30.7 | 330.6 (320.5-337.9) | 12.39 |
| p150 | 128 | 128 | 1 | 10 | 220 (217-221) | 582 | 64.1 | 58.1 (57.0-72.6) | 2.20 |
| p150 | 1,024 | 256 | 1 | 10 | 525 (524-529) | 1,950 | 115.4 | 93.7 (70.9-104.9) | 2.73 |
| p150 | 4,096 | 256 | 1 | 10 | 2,035 (2,033-2,037) | 2,013 | 111.6 | 59.3 (49.2-63.5) | 4.32 |
| p150 | 128 | 128 | 8 | 80 | 668 (667-697) | 192 | 24.0 | 171.8 (158.2-178.2) | 5.96 |
| p150 | 1,024 | 256 | 8 | 80 | 3,840 (3,839-3,852) | 267 | 28.2 | 159.0 (156.5-167.1) | 12.88 |
| p150-long | 128 | 128 | 1 | 10 | 189 (186-191) | 677 | 68.4 | 62.6 (62.5-62.6) | 2.05 |
| p150-long | 1,024 | 256 | 1 | 10 | 486 (482-489) | 2,107 | 64.2 | 57.4 (57.3-57.4) | 4.46 |
| p150-long | 4,096 | 256 | 1 | 10 | 1,983 (1,978-1,985) | 2,066 | 62.8 | 42.4 (42.3-42.4) | 6.04 |
| p150-long | 128 | 128 | 8 | 80 | 696 (667-699) | 184 | 23.7 | 169.7 (163.8-187.0) | 6.03 |
| p150-long | 1,024 | 256 | 8 | 80 | 3,846 (3,840-3,852) | 266 | 27.8 | 157.4 (150.5-162.6) | 13.01 |
Prefix cache (tools/prefix_serve.py, greedy): a 4,438-token prompt (a document plus a question)
cold, then resent, then the next chat turn on it, then 4 users asking about the same document at once (TTFT, s):
| Profile | Cold | Resent | Next turn | 4 users, shared document (mean) |
|---|---|---|---|---|
| p300x2 | 0.84 | 0.17 | 0.19 | 0.34 |
| p300 | 1.37 | 0.22 | 0.24 | 0.39 |
| p150 | 2.57 | 0.28 | 0.30 | 0.47 |
| p150-long | 2.53 | 0.25 | 0.27 | 0.47 |
Measured 2026-11-28 on one QuietBox 2 (4 Blackhole p300c dies; the 2- and 1-die profiles on a subset of it) through vLLM 0.26 with this package's image and each profile's own settings.
Limitations
- Prefill runs about 6,400 prompt tokens/s on 4 dies, 3,800 on 2 and 2,000 on 1 (4K-token prompts). Up to 8 requests share each prefill chunk; long prompts (1K tokens and up) queue behind each other.
- Speculative decoding applies only while one request is decoding and its sequence is under 65,536 tokens (32,768 on
p150; not onp150-long); with several users, or past that length, every request decodes one token per step. - A profile's sequences share its KV cache (1.7M tokens on 4 dies; the context on 2 and 1 die): one request may use the whole context, and requests that do not fit beside the running ones wait.
- Sampling at temperature > 0 draws from the 32 most likely tokens; top_k above 32 acts as 32. Requests with penalties or top_p < 1, and logprobs, are sampled on the host (slower).
- No video or audio input; no image input on
p150-long. One image may take up to 4,095 image tokens. - The p150x4 and p150x2 profiles run the same meshes as p300x2 / p300 but were not run on p150 boards.
- Outputs are close to but not identical to the bf16 reference (bfp8 experts; see the accuracy table). Benchmarks were run on samples with the official harnesses (see above): MMMU-Pro 1.6 and LongBench v2 0.6 standard errors under Thinking Machines' reported scores, whose setup is not published and could not be replicated; other evals (LiveCodeBench, IFEval, ...) were not run.
- A prompt near 1M tokens takes about 30 minutes to prefill on 4 dies and, while it waits for KV-cache room, holds up requests queued behind it; two such prompts do not fit at once.
- Not for decisions where an unreviewed wrong answer causes harm (medical, legal, financial or safety-critical use); like the original model, it can state wrong facts with confidence.
Feedback
Questions or problems with this package: open a discussion at https://huggingface.co/raahemnabeel/inkling-2-mini/discussions β that is what reaches its author. A problem with the tt tooling itself: tt report issue (collects your environment and opens a prefilled issue against tenstorrent/tt-cli). Product feedback: support@tenstorrent.com.
Provenance
The exact sources the image was built from β code/ in this repo is byte-identical to the model code inside the image:
| component | built from |
|---|---|
| tt-metal | 2bab9a3c65b2e05b34a7a0b29a8a6a7c33660e54 |
| vLLM | v0.26.0 |
| vllm-tt-plugin | a local checkout β commit not published |
code/ digest |
06577ff87b9af218 (sha256, first 16 hex digits) |
| built | 2026-11-30T16:25:02+00:00 by tt-model 0.1.0 |
Model tree for raahemnabeel/inkling-2-mini
Base model
thinkingmachines/Inkling-2-Mini