Resin adds tiered storage for KV cache, letting CPU memory extend GPU KV capacity

andersonbcdefg · x · 2026-10-31

The open-source inference engine Resin now supports tiered storage for KV cache: KV and recurrent state evicted from GPU memory can spill to host CPU memory or other tiers, with async fetches for reuse.

The Engine handles prefix matching and device-page lifetimes while storage providers keep immutable checkpoints outside the device cache pool. A bounded CPU DRAM provider (MemoryCacheStorage with maxbytes, using pinned host memory) ships built-in, and since it is "just code" behind a lookup/store/load interface, custom providers for SSDs, Mooncake, etc. are also possible.

For long-context and multi-turn workloads, this effectively extends KV capacity with cheap memory and boosts prefix cache hit rates.

Original post →

More from Infra

Infra channel →