Inkling 2 Mini Variable-Looped Transformer for Hyperflare
Prepared Hyperflare (Flare) runtime package for thinkingmachines/TML-d24-varloop-research on one NVIDIA RTX PRO 6000 Blackwell GPU (SM120, 96 GB).
Download the gb202 revision and start the included executable. Weights, compiled CUDA kernels, captured CUDA graphs, and signatures are already prepared, so nothing compiles or tunes at launch. This is a Hyperflare runtime format; Transformers, vLLM, SGLang, and llama.cpp cannot load it.
Licensing: This package is licensed under the Local Inference Lab License, Version 1.0 (LICENSE). The base model TML-d24-varloop-research by Thinking Machines Lab is licensed under Apache-2.0 and subject to the Thinking Machines Model Acceptable Use Policy, which applies to every use of this package. See Credits and CREDITS.md.
At a Glance
- Hardware: 1x RTX PRO 6000 Blackwell 96 GB (SM120), Linux x86-64 (glibc 2.39+, CUDA 13.2 driver), 22.6 GB disk
- Model & Precision: 26.4B MoE (5.4B active at 3 fixed passes), native NVFP4 routed experts (layers 0 to 19), native MXFP8 routed experts (layers 20 to 23), BF16 dense and vision weights, FP8 E4M3 KV cache (no requantization)
- Capabilities: Text and images, up to 32 concurrent requests, 1,048,576-token per-request context, 8,192-token prefill chunks, 7-token adaptive speculative decoding (bundled 3-layer MTP draft head),
--prompt-logprobs - API: OpenAI-compatible
/v1endpoints under model nameTML-d24-varloop-research(reasoning_contentseparated fromcontent) - Platform setup & commands: gb202 setup guide
Benchmark Summary
Measured on 2026-11-21 at three passes on package gb202-tp1-202611212301 with the draft head on (--memory-limit 92G, default sampling, llm-inference-bench 0.4.29 with ignore_eos).
- Speed and startup: 1x RTX PRO 6000 Blackwell Workstation Edition (96 GB, stock 600 W, +6000 MHz memory clock offset, dedicated card).
- Perplexity, quality, vision, causal invariance, and agentic tool tests: 1x RTX PRO 6000 Blackwell Max-Q Workstation Edition (96 GB, 300 W, 0.9 GiB held by an unrelated process).
- Prior-package evaluations: Needle in a haystack, GPQA Diamond, MMLU-Pro (5 cards), and BFCL v4 (4 cards) were measured on
gb202-tp1-202611211545(identical model weights, precision, and 2.860029 perplexity) and were not re-run ongb202-tp1-202611212301.
Speed and Memory (600 W Workstation Edition)
| Metric | Result |
|---|---|
| Decode, 1 request (0 context) | 227.3 tok/s |
| Decode, 2 / 4 / 8 requests (total) | 368.0 / 599.0 / 884.5 tok/s |
| Decode, 16 / 32 requests (total) | 1,559.0 / 2,135.7 tok/s |
| Decode, 1 request at 32K / 128K context | 216.8 / 192.5 tok/s |
| Decode, coding prompt (Sieve, 1 req, median / max) | 320.6 / 343.3 tok/s |
| Tetris coding peak (1 req, 5 runs, thinking on) | 303.2 median / 326.2 best tok/s |
Tetris coding peak (1 req, 5 runs, reasoning_effort: none) |
280.5 median / 315.0 best tok/s |
| Prompt processing, 8K / 64K / 128K prompts | 27,130 / 23,004 / 19,802 tok/s |
| Accepted drafts | 43.1 % (regular arm), 34.2 % (arm A) |
| Loaded memory (92 GiB limit) | 30.00 GiB loaded (20.9 GiB weights) |
| KV cache beside weights (92 GiB limit) | 61.9 GiB (3,440,640 KV tokens) |
| Startup (empty page cache / warm reload, PCIe 5.0 NVMe) | 6.1 s cold (weights 1.8 s) / 6.2 s warm |
Quality and Correctness
| Check | Result |
|---|---|
| Perplexity (2,048-token English passage) | 2.860029 (Transformers BF16 ref 2.855019, +0.18 %) |
| LAVD / Estonia / Hotel lights (10 runs each) | 10/10 exact, 10/10 pass, 10/10 exact (0 errors) |
| Inkling-2 vision suite | 15 of 15 pass |
Causal invariance across 16-token boundaries (L = 65..117) |
6e-6 worst live logprob diff (0.000000 in kernel and eager checks) |
Multi-turn tool calling (agentic_suite.py, 3 trials/case) |
PASS (3/3 chat, Responses function, tool error, custom apply_patch, parallel) |
| Needle in a haystack, up to 1,036,894 tokens (prev. package) | 12 of 12 found |
| GPQA Diamond, 198 questions, 1 run (prev. package) | 161/198, 81.3 % (95 % CI 75.3 to 86.1 %) |
| MMLU-Pro, 1,000 questions, 1 run (prev. package) | 812/1,000, 81.2 % (95 % CI 78.7 to 83.5 %) |
| BFCL v4 tool calling, 4,441 cases (prev. package) | non-live 75.71 %, live 68.76 %, multi-turn 36.00 % |
Model Architecture
TML-d24-varloop-research (revision 657b53ba5da7baefe9ff15dca5cd25f5bd3dbaa2, released 2026-11-20) is a 24-layer decoder-only MoE model (128 routed experts, 8 active per token, hidden width 2,304, vocabulary 200,058) and is a research variant of Inkling 2 Mini. Thinking Machines does not recommend it for production use.
Layers 0 to 5 and 18 to 23 run once; middle layers 6 to 17 share weights and repeat for a chosen number of passes (trained on 1 to 5 passes, post-trained at 3). Passes do not chain sequentially: each pass starts from layer 5's output and mixes the previous pass's middle block and final loop hidden state through learned rank-64 message gates. At three passes, each token executes 48 layer visits with one KV cache entry per visit.
Images pass through a 23-layer BF16 vision tower (width 1,024, 20 x 20-pixel patches merged 2 x 2 into one token per 40 x 40-pixel cell). A bundled 3-layer draft head (mtp.safetensors) taps hidden states at layer visits 5, 23, 41, and 48 and proposes up to 7 draft tokens per round.
What This Package Fixes and Includes
- Three fixed passes. Graph catalog, per-visit KV cache (48 visits), and continuation state are prepared for three passes only.
- Native checkpoint precision. Routed experts keep their exact checkpoint NVFP4 values and block scales (layers 0 to 19) and MXFP8 values and UE8M0 scales (layers 20 to 23) with the publisher's per-token activation rules. Dense, draft, and vision weights remain BF16.
- FP8 E4M3 KV cache. Keys and values are stored in FP8 E4M3 rings and pages (moving perplexity by -0.02 % vs BF16 KV cache under exact FP32 attention).
- SM120 4D-TMA kernels and causal-invariance fix. Compared with
gb202-tp1-202611211545, all 23 routed-expert shards (weights/layer-001throughlayer-023, 17.26 GB) are byte-identical, prompt encoding moves to Helios's nativeTMLv0encoder, andRelativePrefillKernelnow keeps partial final 16-row warps past 64 tokens on the same 64-key online softmax schedule as full warps. That eliminates the 0.17 to 0.54 nat logprob shift across 16-token chunk boundaries (0.000000max diff in standalone kernel and 48-visit eager checks from63/64through1087/1088;6e-6worst live diff acrossL = 65..117).
Known limitation: With speculative drafting enabled, greedy output can differ from drafts-off output at near ties (1 to 2 BF16 ULP across separately tuned verification widths). The output distribution and perplexity are unchanged.
Quick Start
| Revision | Hardware | Size | Setup |
|---|---|---|---|
gb202 |
Linux x86-64; 1x RTX PRO 6000 Blackwell 96 GB (SM120) | 22.6 GB | gb202 setup |
Use the Flare executable included in gb202 (runner/flare-linux-x86_64, SHA-256 38dc499b0e93ecaba1c1e63d93439a7f362dde1bf2cf369147ac208e65ec06cc, built from Hyperflare main b9cac839 including strict function-tool schemas, with Helios fixes for untyped TML model headers at EOS, contiguous Responses SSE sequence_number values on error, and TMLv0 content-header and strict-tool grammars allowing unnamed tool headers and visible text before tool calls, plus the Jinja float filter for older templates). Released Flare binaries do not yet include Inkling 2 support.
- Sampling: Fixed to
temperature 1.0, top_p 1.0, top_k -1, min_p 0and neutral penalties per upstream Hyperflare's Inkling 2 frontend declaration.seedis request-controlled (default0when omitted). - Images: Send base64
data:image/png,data:image/jpeg, ordata:image/webpURLs inimage_urlparts. Images are padded to whole 40 x 40-pixel cells without resizing (64 to 32,768 cells prepared). - Verification: Flare verifies the Ed25519 signature across
model.safetensorsand all companion files on startup and records publisher acceptance (brandonmusic) in the local trust store.
Validation Notes
- Teacher-forced parity (eager, published arithmetic, FP8 KV, 64 continuation positions): agrees on 62/64 tokens on the 26-token chat prompt (decode 63/64), 60/64 on the 61-token 3-turn chat prompt (decode 61/64), and 61/64 on the 3,000-token plain-text prompt (decode 62/64); eager perplexity
2.860029. - Tool calling on
gb202-tp1-202611212301:agentic_suite.pypasses all 5 cases (3/3each, 0 errors); standalone/v1/responsesfree-text customapply_patchpasses 9/10 at default seed and 17/20 across explicit seeds 0..19 (0 errors);/v1/responseswithreasoning.effort = "xhigh"and 178 tools includingbash(17,668 input tokens) returnsbashcalls on 8/8 seeds (0 errors). - Unit suites: FlashInfer SM120 kernel suite 45/45 pass; Flare SM120 CUDA + Inkling 2 suite 94/94 active checks pass (30 multi-GPU and checkpoint-gated tests skipped).
- Prior-package benchmarks (
gb202-tp1-202611211545):- Needle in a haystack: 12/12 found across 32K, 128K, 512K, and 1,036,894 tokens (depths 10 %, 50 %, 90 %; 4,073 to 4,315 tok/s prefill at 1.04M on the 300 W Max-Q card).
- GPQA Diamond: 161/198 (81.3 %, physics 78/86, chemistry 70/93, biology 13/19; 1 reply hit the 131,072-token limit; temperature 1.0).
- MMLU-Pro: 812/1,000 (81.2 %, 5 cards, 160 in flight, temperature 1.0, 0 length cutoffs).
- BFCL v4: 4,441 cases (non-live 75.71 %, live 68.76 %, multi-turn 36.00 %, irrelevance 187/240 non-live and 650/884 live, relevance 12/16; 4 cards, temperature 1.0; agentic web-search/memory categories not run).
- Signing: All measurements ran on unsigned/dev-signed
gb202-tp1-202611212301; publication signing replaces onlymodel.safetensors.
About Hyperflare
Hyperflare (NVIDIA/hyperflare-inference) is an open-source research prototype from Local Inference Lab and NVIDIA for SM120/SM121 workstations and compact systems. A Python preparation stage (PyTorch, FlashInfer, b12x) autotunes kernels and captures static CUDA graphs; a standalone Rust runtime (Helios) then serves those graphs with zero Python overhead and fixed memory layouts.
Credits
- Base model: Thinking Machines Lab (
thinkingmachines/TML-d24-varloop-research, revision657b53ba5da7baefe9ff15dca5cd25f5bd3dbaa2, Apache-2.0 + Model AUP). - Serving & Kernels: Hyperflare (
NVIDIA/hyperflare-inference, Apache-2.0) andb12x/ FlashInfer (Apache-2.0) by Local Inference Lab, NVIDIA, Luke Alonso, Martin Vit, Jason Cook, Eugene Rakhmatulin, yatesdr, and community contributors. - Reference checks: Hugging Face Transformers branch
add-inkling2-mini(6173a2f) for golden outputs and perplexity; SGLang PR 51926 inspected as a second reference for loop and draft semantics (no code taken). - Hyperflare SM120 port and package: Brandon M. Music (building on
brandonmusic/Inkling-2-Small-NVFP4-CSF-Flare). - TMLv0 Responses bug reports and regression patches:
@madarkadonk(madaron Local Inference Lab Discord) for the initial untyped TML model-header patch, the captured malformed terminal-header reproducer, and the TMLv0 parser and grammar stress tests.
See CREDITS.md for full attributions.
License
This package is licensed under the Local Inference Lab License, Version 1.0 (LICENSE, LICENSES/LicenseRef-LIL-1.0.txt), which builds on Apache-2.0 with additional conditions. TML-d24-varloop-research is licensed under Apache-2.0 (LICENSES/Apache-2.0.txt) and the Thinking Machines Model Acceptable Use Policy (LICENSES/Thinking-Machines-Model-Acceptable-Use-Policy.txt). The included Flare executable in runner/ is licensed under Apache-2.0. See NOTICE for details.
Model tree for brandonmusic/Inkling2-mini-variable-looped-transformer-Flare
Base model
thinkingmachines/TML-d24-varloop-research