KV-cache quantization reduces the memory footprint of LLM serving, but four-bit compression alone does not guarantee faster execution, as dequantization overhead can offset the benefits of reduced memory traffic. We present Dovetail, a representation--kernel--runtime co-design that enables efficient FP8 attention with persistent FP4 KV storage. By combining accuracy-preserving Key transformations with hardware-aligned quantization and fused attention kernels, Dovetail bridges the gap between low-bit compression and efficient matrix execution. Its runtime supports decode and append attention over a unified compressed KV cache. On H100, Dovetail achieves peak decode-attention speedups of 1.69$\times$ over FlashAttention-3 with FP8 KV and 2.02$\times$ over the fastest prior 4-bit kernel. Across five models from 7B to 70B, serving concurrency and decode-step throughput reach up to 1.91$\times$ and 1.77$\times$ those of FP8 KV, respectively, while maintaining model quality competitive with BF16 KV.
翻译:暂无翻译