Thinking Machines

Inkling-2-Mini (26.4B Looped MoE) โ€” TFQ 4.00

Base Checkpoint | TensorFold | TFQ | Inkling-2-Small (587B)

Memory Fit TFQ TFP6 4.00 bpw Model-Text KL Top-1 Premature Stops 24/24 Verified

Inkling-2-Mini-TFQ-4.00 is a TensorFold Quantization (TFQ, TFP6 zero-LUT pure-ALU native signed-int8 format) checkpoint of thinkingmachines/Inkling-2-Mini โ€” a 26.4B 3-pass looped-core Mixture-of-Experts model (24 physical layers executing 48 transformer visits with L06..L17 looped 3ร—, 128 routed experts per layer, H = 2304, I = 1152, 200,058-token active vocabulary with final_logit_softcapping = 30.0, vision tower, and native MTP speculative decoding head).

GPU VRAM & Hardware Fit (Fits 24 GB GPU / 24 GB Mac)

  • Core Model Footprint (without MTP): 15.06 GiB (11.44 GiB TFP6 MoE across 24 physical layers + 3.59 GiB untouched non-MoE).
  • Full Checkpoint (including optional 0.59 GiB mtp.safetensors): 15.65 GiB (16.81 GB) total on disk.
Hardware Target Memory Footprint Notes
24 GB GPU (RTX 3090 / 4090) 15.06 GiB core (15.65 GiB w/ MTP) Fits single 24 GB GPU with ~8.3โ€“8.9 GiB KV headroom
32 GB GPU (RTX 5090) 15.06 GiB core (15.65 GiB w/ MTP) Fits with ~16+ GiB KV headroom
24 GB / 32 GB+ Apple Silicon Mac 15.06 GiB core (15.65 GiB w/ MTP) 100% resident in unified memory

Inkling-2-Mini TFQ Lineup (All 5 Tiers โ€” Normative tfp6_a8 vs Official Stock Gold)

Tier Core / Total (w/ MTP) Model-Text KL Top-1 Top-5 ฮ”PPL Conf. Premature Stops Hardware Fit
TFQ 2.00 9.37 GiB / 9.96 GiB 0.070282 92.62% 99.600% +4.686% 0 Fits 12 GB GPU / 16 GB Mac
TFQ 2.50 10.79 GiB / 11.38 GiB 0.024393 95.44% 99.922% +1.205% 0 Fits 12โ€“16 GB GPU / 16 GB Mac
TFQ 3.00 12.21 GiB / 12.80 GiB 0.014582 96.49% 99.963% +0.497% 0 Fits 16 GB GPU / 24 GB Mac
TFQ 4.00 (this model) 15.06 GiB / 15.65 GiB 0.004024 98.18% 99.998% -0.079% 0 Fits 24 GB GPU / 24 GB Mac
TFQ 4.50 16.48 GiB / 17.08 GiB 0.002631 98.56% 99.998% +0.009% 0 Fits 24 GB GPU / 24โ€“32 GB Mac

Method & Highlights

  • 3-Pass Loop-Aware Calibration: Inkling-2-Mini runs physical layers L06..L17 three times per token (48 logical visits). Our pipeline executes the exact 48-visit looped forward pass (0.00000000 max abs diff vs official Inkling2LoopForCausalLM), accumulating additive wยฒ-weighted Hessians (H_up and post-quantization H_down) and Softcapped-SwiGLU Jacobian sensitivities across all 3 passes of L06..L17 so the looped core automatically receives higher bit allocation (+0.10โ€“0.24 bpw above preamble/tail).
  • Exact Global Tempered MCKP (4.00 bpw, 3.0โ€“6.0 bpw): All 9,216 routed MoE matrices (24 layers ร— 128 experts ร— {gate, up, down}) are quantized directly from the official checkpoint (L00..L19 native NVFP4 + L20..L23 native MXFP8) using 2-stage Hessian-LDLQ-H + 2-pass coordinate polish (--polish --polish-su --polish-sv --share-su-groups --a8).
  • Untouched Non-MoE & MTP: All attention, gated DeltaNet, attn_res, vision tower, embeddings, lm_head (3.59 GiB), and optional mtp.safetensors (0.59 GiB) remain verbatim from upstream.
  • Zero-LUT Pure-ALU Native int8 (TFP6 + FLAG_A8_HADAMARD): Decodes directly to signed int8 with zero LUTs, supporting both normative 128ร—128 Hadamard int8 activation execution (tfp6_a8) and BF16 activation execution (tfp6_a16).
  • Integrity: All 24 MoE shards verified 24/24 OK [A8] [XXH64 verified] via tfq3-inspect.

Evaluation (Exact 200,058-Vocab FP64 Held-Out KL & Stop Stability)

Evaluated over 50 ร— 2,048 (102,350 total next-token predictions, including 46,262 assistant model_text tokens) across five strictly held-out domains (chat, code, math, prose, and tool calls), comparing exact full 200,058-vocabulary FP64 log-probabilities (final_logit_softcapping = 30.0) directly against official thinkingmachines/Inkling-2-Mini Gold:

Overall Model-Text (46,262 Assistant Tokens) & All Tokens (102,350 Tokens)

Execution Path Slice KL (gold || cand) Rev-KL Top-1 Agree Top-5 Agree Gold PPL โ†’ Cand PPL (ฮ”%)
tfp6_a8 (Normative) Model Text (46,262 tok) 0.004024 0.004251 98.18% 99.998% 2.0886 โ†’ 2.0869 (-0.079%)
tfp6_a16 (BF16 act) Model Text (46,262 tok) 0.004145 0.004279 98.13% 99.994% 2.0886 โ†’ 2.0862 (-0.114%)
tfp6_a8 (Normative) All Tokens (102,350 tok) 0.046253 0.044834 95.88% 99.660% 4.1184 โ†’ 4.1132 (-0.125%)
tfp6_a16 (BF16 act) All Tokens (102,350 tok) 0.048214 0.045578 95.87% 99.632% 4.1184 โ†’ 4.1070 (-0.275%)

Per-Category Breakdown (tfp6_a8 & tfp6_a16 vs Official Gold)

Category Model-Text tfp6_a8 KL / Top-1 / ฮ”PPL Model-Text tfp6_a16 KL / Top-1 / ฮ”PPL All-Token tfp6_a8 KL / ฮ”PPL
Tool Calls (4,237 mt / 20,470 all) 0.003509 / 98.96% / -0.534% 0.004612 / 98.82% / -0.729% 0.118229 / -0.213%
Code (10,357 mt / 20,470 all) 0.001989 / 98.92% / -0.089% 0.001882 / 98.90% / +0.046% 0.031658 / -0.530%
Math (15,292 mt / 20,470 all) 0.003145 / 98.61% / -0.160% 0.003217 / 98.50% / -0.258% 0.024186 / -0.118%
Chat (16,376 mt / 20,470 all) 0.006266 / 97.11% / +0.120% 0.006322 / 97.12% / +0.079% 0.042183 / -0.458%
Prose (0 mt / 20,470 all) 0.000000 / 0.00% / +0.000% 0.000000 / 0.00% / +0.000% 0.015008 / +0.698%

Teacher-Forced EOS Stop Stability (eos_token_id = 200006)

Execution Path EOS Positions (n = 157) Flips (Confident) Mean KL @ EOS Premature Stops (46,262 tok) Confident Premature Stops
tfp6_a8 (Normative) 1 / 157 (0 conf) 0.00170 0 / 46262 0
tfp6_a16 (BF16 act) 2 / 157 (2 conf) 0.02398 1 / 46262 0

Checkpoint Files

  • moe_L00.tffp6 .. moe_L23.tffp6: 24 self-contained TFP6 v6 (FLAG_A8_HADAMARD, XXH64 verified) MoE shards (11.44 GiB).
  • nonmoe-00001-of-00001.safetensors: Untouched non-MoE decoder, attention, vision tower, embeddings, and lm_head (3.59 GiB, 1,068 tensors).
  • mtp.safetensors: Untouched native MTP speculative decoding head (0.59 GiB, 54 tensors).
  • tiktoken/tokenizer.model, tokenizer.json, tokenizer_config.json, chat_template.jinja, config.json, generation_config.json, processor_config.json, special_tokens_map.json, model.safetensors.index.json.

License

Derived from thinkingmachines/Inkling-2-Mini under the Apache 2.0 license.

Downloads last month
8
Safetensors
Model size
2B params
Tensor type
F32
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for TensorFold/Inkling-2-Mini-TFQ-4.00

Quantized
(483)
this model