NVIDIA's ReplaySSM method cuts state memory traffic by roughly half when hybrid AI models generate text. NVIDIA says it developed the technique with the Dao AI Lab at Princeton University. Hybrid models mix state-space model (SSM) layers, which keep a fixed-size memory of past text, with a few attention layers.
NVIDIA says SSM layers can become the latency bottleneck at typical serving batch sizes, up to 100K tokens of context. Conventional decoding loads and stores the full state at every step. ReplaySSM instead keeps a checkpoint plus a buffer of recent inputs, and it writes the checkpoint only when the buffer fills.
NVIDIA reports SSM decoding kernels run 1.46x to 1.80x faster at batch size 256 on Blackwell Ultra B300 GPUs. For speculative decoding, where a model drafts tokens ahead and then checks them, rollback becomes simpler. Draft inputs are appended to the buffer instead of snapshotting the state. NVIDIA reports 1.85x to 2.10x higher speculative throughput on 120B-class models.
The method also keeps a high-precision checkpoint for the recurrence and a low-precision copy for reads. NVIDIA says three of four evaluated models stayed within about 2 percentage points of FP32 accuracy on GPQA-Diamond. ReplaySSM is integrated into TensorRT-LLM, vLLM and FlashInfer, and runs in production in GLM-5.3-Flash and Kimi-K3.
Source: ReplaySSM: Rethinking State Storage for Faster Hybrid-Model Decoding | NVIDIA Technical Blog.