arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.00047cs.DCcs.CLcs.LG
收藏

面向SLO的大语言模型服务的队列管理

Queue management for slo-oriented large language model serving

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);IBM Research(IBM研究院)

Archit Patke, Dhemath Reddy, Saurabh Jha, Haoran Qiu, Christian Pinto, Chandra Narayanaswami, Zbigniew Kalbarczyk, Ravishankar Iyer

AI总结:

提出QLM队列管理系统,通过请求等待时间估计和全局调度优化LLM服务中的批量与交互请求排序,提升SLO达成率40-90%和吞吐量20-400%。

摘要:

大语言模型(LLM)服务正成为云提供商日益关键的工作负载。现有的LLM服务系统主要关注交互式请求(如聊天机器人和编码助手),这些请求具有严格的延迟SLO要求。然而,当此类系统在交互式请求的同时执行具有宽松SLO的批量请求时,会导致多路复用效果差和资源利用率低下。为解决这些挑战,我们提出了QLM,一个用于LLM服务的队列管理系统。QLM在请求队列中维护跨不同模型和SLO的批量请求和交互式请求。请求队列的最优排序对于在确保高资源利用率的同时维持SLO至关重要。为了生成这种最优排序,QLM使用请求等待时间(RWT)估计器来估计请求队列中请求的等待时间。全局调度器利用这些估计来编排LLM服务操作(LSO),如请求拉取、请求驱逐、负载均衡和模型切换。在异构GPU设备和真实世界LLM服务数据集上的评估表明,与其他最先进的LLM服务系统相比,QLM将SLO达成率提高了40-90%,吞吐量提高了20-400%,同时保持或提高了设备利用率。QLM的评估基于云提供商的生产需求。QLM可在https://www.github.com/QLM-project/QLM公开获取。

英文摘要:

Large language model (LLM) serving is becoming an increasingly critical workload for cloud providers. Existing LLM serving systems focus on interactive requests, such as chatbots and coding assistants, with tight latency SLO requirements. However, when such systems execute batch requests that have relaxed SLOs along with interactive requests, it leads to poor multiplexing and inefficient resource utilization. To address these challenges, we propose QLM, a queue management system for LLM serving. QLM maintains batch and interactive requests across different models and SLOs in a request queue. Optimal ordering of the request queue is critical to maintain SLOs while ensuring high resource utilization. To generate this optimal ordering, QLM uses a Request Waiting Time (RWT) Estimator that estimates the waiting times for requests in the request queue. These estimates are used by a global scheduler to orchestrate LLM Serving Operations (LSOs) such as request pulling, request eviction, load balancing, and model swapping. Evaluation on heterogeneous GPU devices and models with real-world LLM serving dataset shows that QLM improves SLO attainment by 40-90% and throughput by 20-400% while maintaining or improving device utilization compared to other state-of-the-art LLM serving systems. QLM's evaluation is based on the production requirements of a cloud provider. QLM is publicly available at https://www.github.com/QLM-project/QLM.

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

↑