vLLM Adds Day-0 Support for Inkling 2 Small
Thinking Machines' Inkling 2 Small is a large multimodal model — 594B total parameters but only 17B active per token, with up to 1M tokens of context — so serving it efficiently is a real engineering problem, not just a download. vLLM and Thinking Machines describe how they made it run well on day one.
Thinking Machines' Inkling 2 Small is a large multimodal model — 594B total parameters but only 17B active per token, with up to 1M tokens of context — so serving it efficiently is a real engineering problem, not just a download. vLLM and Thinking Machines describe how they made it run well on day one.
The model keeps Inkling's backbone (a 5:1 mix of sliding-window and full attention, grouped-query attention with a learned relative bias instead of positional encoding, short convolutions, and a routed mixture-of-experts) and adds block attention residuals, a sigmoid gate plus per-token sink on attention output, and a 23-layer vision transformer for images. To fit a single node, the experts use 4-bit floating point (NVFP4) in the first 40 layers and 8-bit (MXFP8) in the last 8, with a quantizer that tries two block scales and keeps the lower-error one. A bundled DSpark draft model proposes 7 tokens per step for speculative decoding. The vLLM work targets the places where this architecture wastes time. At each sublayer boundary, five memory-bound steps run on the same hidden states; vLLM fuses them into one kernel that keeps data in registers after the all-reduce. Kernels launch with programmatic dependent launch (PDL), overlapping one kernel's startup with the previous one's tail — important at small batch sizes, where decode is a long chain of short kernels. Expert activations are quantized inside the kernels that produce them, avoiding a separate pass. For prefill, sequence parallelism stops every GPU from redundantly running the convolution, residual mix and normalization on all tokens: each rank handles only its slice, cutting an 8K-token prefill step by 22% at TP4 and 26% at TP8 and freeing 1.3–1.9 GiB per GPU for KV cache. Finally, a custom Gluon attention kernel for decode packs the 6:1 query-to-KV head ratio into one tile and reads KV once, dropping a batch-1 decode step at 100K context from 15.1 ms to 4.8 ms. On an agentic benchmark at TP8 with prefix caching, throughput per GPU at 100 tokens/s per user falls from about 1,070 tok/s at 32K context to about 450 at 256K, with prefix-cache hit rates of 91–99% and acceptance length around 3.5. A single user at TP4 decodes at about 630 tok/s. The authors report accuracy matching the reference implementation on long-context retrieval, MMMU-Pro and HLE, with and without speculative decoding.
For builders, the lesson is that day-0 support for a frontier model is now mostly about fusing memory-bound steps, overlapping kernel launches, and removing redundant per-GPU work — not about a single clever kernel. Expect these techniques to transfer to other large MoE models you serve.