NewsCrawler.org

Inkling 2 Mini runs at 109.6 tok/s on a 12 GB RTX 4070 with a quantized model

Inkling 2 Mini runs at 109.6 tok/s on a 12 GB RTX 4070 with a quantized model
Image: Reddit

The author downloaded Inkling 2 Mini, a model from Thinking Machines Lab, to a machine with a 12 GB RTX 4070 and 64 GB of DDR5 memory. The first attempts failed: the prebuilt binary did not load the newer architecture, the run ran out of memory, and the speed was only 5.9 tok/s. After many tuning runs and a custom patch to llama.cpp, the 4-bit [GGUF][1] version reached 74.7 tok/s decode and 2,153 tok/s [prefill][3], and a newer GSQ-RCO IQ3_S [quantization][2] with DFlash 2 pushed the same card to 109.6 tok/s.

Inkling 2 Mini is a 26.4B [MoE][4] looped transformer with 24 physical blocks, and each token passes through 48 logical layers. The author says that naive offloading wastes VRAM on single-pass tail blocks while the looped core is pushed out to system RAM. Prefill was the main bottleneck until the batch size was raised, which lifted it to 820 and 727 tok/s at 32k context.

The author tested five engines and found PolyStrata the fastest on Ada, and says that running without a draft model beat DSpark on it. Setting STRATA_PREFILL_NVFP4=w4a8 and STRATA_INK_FAST_CTRL=1 nearly doubled prefill, from about 700 to 1,483 tok/s for 2k prompts. Measured bandwidth of 455.8 GB/s puts the author's estimated plain-decode ceiling at 83-95 tok/s on 12 GB, so the 74.7 tok/s result is close to hardware limits.

Repository Inkling 2 Mini huggingface.co

Open-weight 26.4B MoE looped transformer model from Thinking Machines Lab, which can be run locally on consumer GPUs.

Read the original carteakey.devDiscussion

Sources

Earlier in this story

  1. Inkling 2 Mini on one RTX 3090: packed GPTQ-Pro matches original speed, 227K context

The whole story · 2 →

Published: First seen: Читать по-русски

Open as a page