ReplaySSM TLDR
- Problem: hybrid SSM models (Mamba-2, Gated DeltaNet) rewrite their full state to GPU memory on every decode step, and at serving batch sizes that memory traffic is the bottleneck.
- Fix: keep a checkpoint plus a buffer of recent inputs, and write the full state only occasionally.
- Result: decode runs 1.2–1.47x faster at batch size 256 across 4 hybrid models, with no gain at batch size 1. Speculative decoding gets about 1.8x vLLM's throughput on 120B-class models, because rolling back a wrong guess is just a pointer move.
