Does Execution Require Target KV Fidelity? A Mixed-Fidelity KV Runtime for LLM Serving
Abstract
Large language model (LLM) serving is increasingly constrained by the GPU memory consumed by key-value (KV) caches. Existing compression, eviction, and offloading techniques alleviate this pressure, but serving runtimes typically treat only the configured target KV representation as execution-ready. Under memory pressure, this target-only contract can turn KV shortage into request stalls and preemptions. We present ElasticKV, a mixed-fidelity KV runtime built on the observation that target fidelity need not gate execution. ElasticKV introduces a compact intermediate KV state, making fidelity a runtime-managed execution property. To realize this state in a paged serving runtime, ElasticKV combines (i) a pair-structured layout that turns fidelity reduction into reusable GPU capacity, (ii) a dual-mode attention backend that directly consumes the compact state while preserving the native target-only path, and (iii) pressure-aware fidelity management that adapts KV fidelity to memory pressure. Our extensive evaluation across diverse workloads, model families and scales, and GPU platforms demonstrates the effectiveness and generality of ElasticKV. Under high concurrency, ElasticKV achieves 3.8-4.0 lower time-to-first-token (TTFT) and 9.1 lower P90 TTFT than vLLM while preserving generation quality.
Create a lesson
Related papers
Multi-Signal Internal-State Online Quality Monitoring for LLM Serving
Shared title terminologycs.LGYibo Zhao, Nengneng Yu, Sixian Xiong et al.
LinearSpec: Drafting from the Target's Memory for Long-Context Speculative Decoding in Hybrid Vision-Language Models
Shared title terminologycs.LGHaiyu Wang, Sai Qian Zhang, Steven Li
QuadML: A General-Purpose, Open-Source Executable Machine Learning Framework for Tabular Data
Shared title terminologycs.LGHamed Mirzakhani, Giovanni Baj, Pooya Mohammadi Kazaj et al.
Evaluating Dynamical Fidelity through Predictive Structure in Physical Representations
Shared title terminologycs.LGOskar Bohn Lassen, Joao Paulo de Souza Boger, Simon Driscoll et al.
PROACT-Agent: Progressive Runtime Oversight and Active Circuit-breaking for Real-Time Safety
Shared title terminologycs.LGDing Jia, Wei Liu, Xianglong Du et al.
SlimWise: Decoupling Expert Pruning Across Prefill and Decode for Efficient MoE Serving
Shared title terminologycs.LGGunho Park, Kyoungho Jeun, Juntaek Oh et al.