Wentao Zhu and colleagues compress the KV cache, a model’s stored working memory for a prompt. LoomKV can shrink the cached history kept in system memory and on disks, or the working set of active requests on the graphics cards.

  • The 16-bit cache took about 71% of its original space across nine models. When system memory and disk could not keep reused prompts long enough, compression served 2.7–3.6 times as many requests per minute within the response-time targets.
  • When those storage tiers already held the reused prompts, the graphics cards became the constraint. Compression there let 12 long requests run with roughly the queue and service rate of eight without it.
  • Off-card compression reproduced the baseline’s output bits. The GPU mode stored the same cache bits, but its attention calculation changed the order of floating-point operations. The authors found comparable numerical accuracy, rather than identical output bits.

Caveat: Main serving tests used one two-H800 server. Where the raw cache already fit, compression reduced prompt processing throughput by up to 2.2%.

Daily coverage