arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.33501cs.DCcs.LG
收藏

DualPace:用于大语言模型服务的解耦调度与协同GPU-CPU解码

DualPace: Decoupled Scheduling and Cooperative GPU--CPU Decoding for LLM Serving

Ningbo Global Innovation Center, Zhejiang University(宁波全球创新中心,浙江大学)

YuXuan Lin, KeQiang Wu, Kingsum Chow

AI总结:

DualPace是将主机转为独立解码引擎的LLM服务运行时,解耦调度GPU与CPU引擎并协同执行,在保持低延迟的同时,较NEO、vLLM大幅提升服务吞吐量与请求速率。

摘要:

大语言模型(LLM)服务依赖批处理提升推理吞吐量,但键值(KV)缓存随序列长度增长,限制了GPU驻留的并发度。CPU卸载可利用主机内存扩展KV容量,然而现有系统仍受GPU主导:CPU驻留请求仅在GPU调度器提供合适重叠机会时才能推进。因此,主机内存与CPU计算无法作为独立服务资源,导致负载下CPU侧推进突发且尾端令牌间延迟(ITL)膨胀。本文提出DualPace,一种将主机转为独立调度解码引擎的LLM服务运行时。DualPace在两个引擎间分离调度权限:GPU引擎执行预填充与GPU驻留解码,而支持AMX的CPU引擎独立批处理并推进CPU驻留解码。引擎在调度上解耦但执行上协同:CPU可本地执行完整解码迭代或选择性调用GPU Dense Assist处理密集阶段,且离线分析指导硬件特定批处理与路由。评估显示,在解码导向场景中,DualPace的服务吞吐量较最先进的开源CPU卸载系统NEO提升6.9%至43.2%,较广泛使用的GPU服务系统vLLM提升11.5%至90.6%,同时保持相同延迟水平。DualPace还保留了NEO在P99首令牌时间(TTFT)上相对于vLLM的优势,且在相同P99 ITL水平下,请求速率较NEO提升7.3%至50.5%。

英文摘要:

Large language model (LLM) serving relies on batching to improve inference throughput, but the key-value (KV) cache grows with sequence length and limits GPU-resident concurrency. CPU offloading can expand KV capacity using host memory, yet existing systems remain largely GPU-gated: CPU-resident requests make progress only when the GPU scheduler exposes suitable overlap opportunities. As a result, host memory and CPU compute cannot act as an independent serving resource, leading to bursty CPU-side progress and inflated tail inter-token latency (ITL) under load. We present DualPace, an LLM serving runtime that turns the host into an independently scheduled decode engine. DualPace separates scheduling authority across two engines: the GPU engine executes prefills and GPU-resident decodes, while an AMX-enabled CPU engine independently batches and advances CPU-resident decodes. The engines are decoupled in scheduling but cooperative in execution: the CPU can execute a complete decode iteration locally or selectively invoke GPU Dense Assist for dense stages, while offline profiles guide hardware-specific batching and routing. Our evaluations show that, in decode-oriented scenarios, DualPace improves serving throughput by 6.9--43.2\% over NEO, a state-of-the-art open-source CPU-offloading system, and by 11.5--90.6\% over vLLM, a widely used GPU serving system, while maintaining the same level of latency. DualPace also preserves NEO's P99 time-to-first-token (TTFT) advantage over vLLM while sustaining 7.3--50.5\% higher request rates than NEO at the same level of P99 ITL.

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

↑