ReplaySSM: Rethinking State Storage for Faster Hybrid-Model Decoding

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Engineers serving hybrid SSM-attention models like Nemotron 3 or Qwen3.5 can cut SSM decode traffic roughly in half and nearly double speculative decoding throughput using code already integrated into TensorRT-LLM, vLLM and FlashInfer.

Read this as

AI models that mix two types of memory layers, fast fixed-size 'state' layers and attention layers, slow down when the state layers must be read and rewritten constantly. A new technique called ReplaySSM instead stores a checkpoint plus a list of recent inputs, writing the checkpoint only occasionally. This made decoding kernels 1.46x to 1.80x faster on NVIDIA's Blackwell Ultra B300 GPU and speculative decoding 1.85x to 2.10x faster. It is already used in production in Kimi-K3 and GLM-5.3-Flash.

Companies serving large hybrid models at high batch sizes face a hidden bottleneck: state-space layers, not attention, dominate decode latency up to 100K tokens of context. ReplaySSM, from NVIDIA and Princeton's Dao AI Lab, cuts state memory traffic by about half and lifts speculative serving throughput to 1.85x-2.10x on 120B-class models at batch size 512. It is integrated into TensorRT-LLM, vLLM and FlashInfer and runs in production, so inference operators can adopt it now.

ReplaySSM represents SSM state as a checkpoint plus a buffer of recent inputs, separating output computation from state updates and writing the checkpoint only once per window (L=16). At batch size 256 on a B300, kernels speed up 1.46x-1.80x. Speculative rollback becomes a buffer pointer advance, with output-only evaluation using chunkwise matrix products, yielding 1.85x-2.10x throughput at batch size 512 on 120B-class models. Separating a high-precision checkpoint from a low-precision read copy limits error accumulation: three of four models stay within ~2 points of FP32 on GPQA-Diamond. No gain at batch size 1.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

NVIDIA Princeton University Dao AI Lab TensorRT-LLM vLLM FlashInfer Blackwell Ultra B300

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading