Prompt cache restore works, but reusing KDA/Mamba states hits illegal memory access

TheZachMueller · x · 2026-09-21

A concrete engineering gotcha: with cache enabled, storing and restoring a long prompt works fine, but attempting to reuse the restored KDA/Mamba states for the next computation triggers an illegal memory access error—a useful warning for anyone building prompt-cache reuse on top of linear-attention/state-space models.

Original post →

More from coding & agent

coding & agent channel →