arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.04382cs.DC
收藏

超越压缩率:面向分布式大语言模型服务的高吞吐量KV压缩

Beyond Compression Ratio: High-Throughput KV Compression for Disaggregated LLM Serving

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学)

Junhong Wu, Zedong Liu, Xinyang Ma, Yuhan Chen, Guangming Tan, Dingwen Tao

AI总结:

该研究提出基于KVserve的高吞吐量KV缓存压缩方案System,通过融合内核与改进无损后端提升效率,降低作业完成时间,保障KV压缩在高带宽网络下的通信收益。

摘要:

KV缓存压缩可减少分布式大语言模型服务的通信量,但其实际收益不仅取决于压缩率和模型质量,还取决于压缩流水线的执行效率。随着现代服务系统采用高带宽互连,这一需求愈发重要,低效的压缩会抵消大部分节省的通信时间。本文提出基于KVserve构建的高吞吐量KV缓存压缩数据通路——\textbf{System},它通过两种互补方式改进压缩执行:一是将分布变换和低位量化阶段融合为KV感知的Tilelang内核,消除中间张量物化和冗余内存访问;二是用基于LC的开放、可扩展、可搜索后端替换原始无损压缩后端,实现高性能压缩算子流水线。融合内核实现最高5.9倍加速,新无损后端将压缩吞吐量从低于90GB/s提升至超过500GB/s。在评估的工作负载中,\textbf{System}将作业完成时间最多降低2.04倍,端到端评估表明,这些优化使KV压缩能在现代高带宽网络下保留显著的通信收益。

英文摘要:

KV cache compression reduces the communication volume of disaggregated large language model serving, but its practical benefit depends not only on compression ratio and model quality, but also on how efficiently the compression pipeline executes. This requirement becomes increasingly important as modern serving systems adopt high-bandwidth interconnects, where inefficient compression can offset a substantial portion of the saved communication time. This paper presents FastKVComp, a high-throughput KV cache compression data path built on top of KVServe. FastKVComp improves compression execution in two complementary ways. First, it fuses the distribution transformation and low-bit quantization stages into a KVaware TileLang kernel, eliminating intermediate tensor materialization and redundant memory accesses. Second, it replaces the original lossless compression backend with an open, extensible, and searchable backend based on LC, enabling high-performance compression operator pipelines. The fused kernel achieves up to 5.9x speedup, while the new lossless backend increases compression throughput from below 90 GB/s to over 500 GB/s. Across the evaluated workloads, FastKVComp reduces job completion time by up to 2.04x. End-to-end evaluation shows that these optimizations allow KV compression to retain meaningful communication benefits under modern high-bandwidth network.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑