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

通过CPU-GPU注意力并行技术实现混合LLM负载的服务保障

Serving Hybrid LLM Loads with SLO Guarantees Using CPU-GPU Attention Piggybacking

University of Macau(澳门大学)

Zizhao Mo, Junlin Chen, Huanle Xu, Chengzhong Xu

AI总结:

本文提出OmniServe系统,利用CPU和GPU资源缓解LLM服务间的干扰,提升吞吐量。通过注意力并行机制将BE服务的注意力计算卸载到CPU,同时动态批处理策略提升密集模块计算效率,实验表明在满足LS服务SLO的同时,BE服务吞吐量提升达9.85倍。

摘要:

如今,服务提供商经常在共享集群中部署多种LLM服务。尽管服务共存提高了资源利用率,但对延迟敏感(LS)服务而言,由于严格的延迟SLO要求,这种共存会引入显著的干扰风险,并严重限制最佳努力(BE)服务的容量,因为可用内存有限。为了解决干扰问题,现有系统通常依赖预留头空间来限制BE资源使用。然而,这种方法的粗粒度会损害延迟敏感服务的SLO合规性,并不必要的限制最佳努力服务的生成潜力。在本文中,我们提出了OmniServe,一种新型的LLM服务系统,能够高效利用CPU和GPU资源来缓解干扰并提高吞吐量。OmniServe的核心是注意力并行机制,该机制能够将BE服务的注意力计算实时卸载到CPU。该机制还促进了CPU和GPU流之间的异步通信,防止GPU在汇总注意力结果时被阻塞。此外,OmniServe还集成了动态批处理控制策略,以适应请求到达的波动,从而利用逐层批处理进行密集模块计算。实验结果表明,与现有最先进系统相比,OmniServe在满足LS服务SLO方面提高了1.48倍,同时最佳努力服务的吞吐量提高了9.85倍。

英文摘要:

Nowadays, service providers often deploy multiple types of LLM services within shared clusters. While the service colocation improves resource utilization, it introduces significant interference risks for latency-sensitive (LS) services-which have strict SLO requirements for inference latency-and severely constrain the service capacity of best-effort (BE) services due to limited available memory. To address interference, existing systems typically rely on reserving headroom to constrain BE resource usage. However, this approach's coarse granularity compromises the SLO compliance of the latency-sensitive service and unnecessarily restricts the generation potential of the best effort service. In this paper, we propose OmniServe, a novel LLM serving system that efficiently harnesses both CPU and GPU resources to mitigate interference and improve throughput. Central to OmniServe is the Attention Piggybacking mechanism, which effectively offloads the Attention computation of BE services to CPUs on the fly. This mechanism also facilitates asynchronous communication between CPU and GPU streams, preventing GPUs from being blocked while aggregating Attention results. Additionally, OmniServe incorporates a dynamic batching control policy to adapt to fluctuating request arrivals, facilitating Dense module computation using layer-wise batching. Experimental results show that OmniServe improves the SLO attainment rate for LS services by up to $1.48\times$ while enhancing BE serving throughput by up to $9.85\times$ compared to state-of-the-art systems.

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

↑