arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.08833cs.PFcs.AIcs.ARcs.DC
收藏

重新审视解耦大规模语言模型服务的性能和能耗影响

Revisiting Disaggregated Large Language Model Serving for Performance and Energy Implications

IBM Research Yorktown Heights, New York(IBM研究院约克镇高地,纽约)

Jiaxi Li, Yue Zhu, Eun Kyung Lee, Klara Nahrstedt

AI总结:

本文重新评估了预填充-解码解耦服务的性能和能耗影响,发现其性能优势依赖于请求负载和KV传输介质,且解耦服务本身能耗较高。

摘要:

与传统的将预填充和解码阶段放在同一块GPU上的大型语言模型(LLM)服务不同,解耦服务将预填充和解码工作负载分配到不同的GPU上。一旦预填充GPU完成其任务,KV缓存必须转移到解码GPU。尽管已有研究提出了各种跨不同内存和存储层级的KV缓存传输路径,但仍然缺乏系统性的基准测试来比较它们的性能和能耗。同时,尽管已使用KV缓存重用和频率缩放等优化技术来优化解耦服务,但其性能和能耗影响尚未经过严格基准测试。在本文中,我们通过在不同的KV传输介质和优化策略下重新评估预填充-解码解耦,填补了这一研究空白。具体来说,我们包括了一个新的协同服务基准线,并在不同的KV缓存传输路径下评估解耦设置。通过使用动态电压和频率缩放(DVFS)进行GPU性能分析,我们识别并比较了所有设置的性能-能耗帕累托前沿,以评估解耦带来的潜在能耗节省。我们的结果表明,预填充-解码解耦的性能优势并不保证,而取决于请求负载和KV传输介质。此外,由于解耦服务本质上具有更高的能耗,解耦带来的阶段独立频率缩放并未导致能耗降低。

英文摘要:

Different from traditional Large Language Model (LLM) serving that colocates the prefill and decode stages on the same GPU, disaggregated serving dedicates distinct GPUs to prefill and decode workload. Once the prefill GPU completes its task, the KV cache must be transferred to the decode GPU. While existing works have proposed various KV cache transfer paths across different memory and storage tiers, there remains a lack of systematic benchmarking that compares their performance and energy efficiency. Meanwhile, although optimization techniques such as KV cache reuse and frequency scaling have been utilized for disaggregated serving, their performance and energy implications have not been rigorously benchmarked. In this paper, we fill this research gap by re-evaluating prefill-decode disaggregation under different KV transfer mediums and optimization strategies. Specifically, we include a new colocated serving baseline and evaluate disaggregated setups under different KV cache transfer paths. Through GPU profiling using dynamic voltage and frequency scaling (DVFS), we identify and compare the performance-energy Pareto frontiers across all setups to evaluate the potential energy savings enabled by disaggregation. Our results show that performance benefits from prefill-decode disaggregation are not guaranteed and depend on the request load and KV transfer mediums. In addition, stage-wise independent frequency scaling enabled by disaggregation does not lead to energy saving due to inherently higher energy consumption of disaggregated serving.

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

↑