Inkling 2 Small on purpose-built silicon: an open hardware study, and two things we could not find

#9
by benblaine - opened

We used this checkpoint as the workload for a hardware-architecture study and thought the results might be useful here.

From the checkpoint. The safetensors headers give 594,050,672,720 parameters, matching the Hub. The checkpoint is 393.5 GB: NVFP4 experts in layers 0 to 39, MXFP8 experts in layers 40 to 47, BF16 elsewhere. One decoded token reads 19.3 GB of it, and half of that is BF16 attention weight, not 4-bit expert weight. With the draft model on, a step verifies 8 rows and reads about 73 GB.

GPUs today. A four-constant model fitted to 9 published figures (TokenSpeed on B300, vLLM on GB200) reproduces them to 8.0% RMS. For a single request the step is kernel launches and weight streaming; arithmetic is 0.9%.

Purpose-built silicon, modeled. With every weight in reloadable on-die memory: 3-4x the single-user speed of B300s (range 1.3x to 8.2x) and about 4x the tokens per joule at an interactive operating point. Decode cost matches the GPUs at 100 tok/s per user and pulls ahead as users need faster tokens.

One block built. The NVFP4 block-scaled dot product, generated from the config, checked bit for bit against a reference on a real expert (1,589,011 vectors, 0 mismatches) and batch-invariant by construction. Along the way we confirmed the stored layout from the bytes: two E2M1 codes per byte, earlier element in the low nibble; weight = code × block scale × per-expert amax ÷ 2688.

Two things we could not find, and would be grateful for:

An expert-routing histogram for any real workload. We swept routing skew using statistics from other open MoE models; it moves the GPUs' single-user speed by up to 1.18x.
Where the 1.24x difference comes from between the KV size vLLM reports at full context and the bytes we count from the config.

Repo, with every number regenerable: https://github.com/Aercrist/inkling2-core-study

This is independent work, not affiliated with or endorsed by Thinking Machines Lab.

•
This comment has been hidden

Sign up or log in to comment