Skip to content
AI Learning Ground Start learning

News ·

ReplaySSM: Rethinking State Storage for Faster Hybrid-Model Decoding

{"summary": "NVIDIA and Princeton's Dao AI Lab introduced ReplaySSM, which represents SSM state as a checkpoint plus a buffer of recent inputs, cutting state memory traffic and speeding up hybrid-model decoding.", "description": "ReplaySSM is joint work from NVIDIA and the Dao AI

A cube assembled from smaller dark blocks, with glowing cyan, pink, yellow, and green sections against a black background.
Image: NVIDIA

{"summary": "NVIDIA and Princeton's Dao AI Lab introduced ReplaySSM, which represents SSM state as a checkpoint plus a buffer of recent inputs, cutting state memory traffic and speeding up hybrid-model decoding.", "description": "ReplaySSM is joint work from NVIDIA and the Dao AI Lab at Princeton University that rethinks how state-space model layers store and update their state during decoding. Hybrid models such as NVIDIA Nemotron 3, Qwen3.5 through Qwen3.8, Kimi-K3, and GLM-5.3-Flash interleave SSM layers (Mamba-2, Gated DeltaNet, or Kimi Delta Attention) with a few attention layers. Although SSM layers use a fixed-size state instead of a growing KV cache, at serving batch sizes they can be the decoding bottleneck up to 100K tokens of context, because each step loads and stores the full state while doing little arithmetic on it.", "The technique represents the state as a checkpoint plus a buffer of recent inputs, separating output computation from state updates. On most steps it appends inputs to the buffer and computes outputs without storing state; when the buffer fills, a flush folds buffered inputs into the checkpoint. This cuts state memory traffic by roughly half, speeding SSM decoding kernels 1.46x to 1.80x at batch size 256 on Blackwell Ultra B300 GPUs. Rollback for speculative decoding becomes simple buffer appends instead of per-draft state snapshots, giving 1.85x to 2.10x higher speculative throughput on 120B-class models. A high-precision checkpoint for recurren

References

  • NVIDIA · developer.nvidia.com

Read the full story at NVIDIA ↗Like, save or discuss on Buzz

#hardware #inference