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

BurstGPT:一个用于优化LLM服务系统的真实世界工作负载数据集

BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systems

Yuxin Wang, Yuhan Chen, Zeyu Li, Xueze Kang, Yuchu Fang, Yeju Zhou, Yang Zheng, Zhenheng Tang, Xin He, Rui Guo, Xin Wang, Qiang Wang, Amelie Chi Zhou, Xiaowen Chu

AI总结:

针对LLM服务系统缺乏真实工作负载的问题,提出BurstGPT数据集,包含Azure OpenAI GPT服务213天的1031万条轨迹,从用户、模型和系统角度捕捉特征,用于优化服务系统的评估与部署。

摘要:

用于大型语言模型(LLM)的服务系统通常经过优化以提高服务质量(QoS)和吞吐量。然而,由于缺乏开源的LLM服务工作负载,这些系统经常在不切实际的工作负载假设下进行评估。因此,当系统部署在真实世界场景中时,性能可能会下降。本工作提出了BurstGPT,一个包含来自区域Azure OpenAI GPT服务超过213天的1031万条轨迹的LLM服务工作负载。BurstGPT从用户、模型和系统三个角度捕捉LLM服务特征:(1)用户请求并发性:Azure OpenAI GPT服务中请求的突发性变化,揭示了不同服务和模型类型中的多样化并发模式。(2)用户对话模式:对话中的计数和间隔,用于服务优化。(3)模型响应长度:GPT模型的自回归服务过程,展示了请求与其响应之间的统计关系。(4)系统响应失败:对话和API服务的失败,展示了Azure中LLM服务的密集资源需求和有限可用性。这些特征的细节可以在LLM服务优化中服务于多种目的,例如系统评估和轨迹供应。在我们使用BurstGPT的演示评估中,BurstGPT中的频繁变化揭示了真实LLM服务中效率、稳定性或可靠性的下降。我们识别出,在真实工作负载评估下,KV缓存管理、调度和分解优化的泛化能力可以得到改进。BurstGPT现已在https://github.com/HPMLL/BurstGPT公开可用,并被广泛用于开发行业中的LLM服务框架原型。

英文摘要:

Serving systems for Large Language Models (LLMs) are often optimized to improve quality of service (QoS) and throughput. However, due to the lack of open-source LLM serving workloads, these systems are frequently evaluated under unrealistic workload assumptions. Consequently, performance may degrade when systems are deployed in real-world scenarios. This work presents BurstGPT, an LLM serving workload with 10.31 million traces from regional Azure OpenAI GPT services over 213 days. BurstGPT captures LLM serving characteristics from user, model and system perspectives: (1) User request concurrency: burstiness variations of requests in Azure OpenAI GPT services, revealing diversified concurrency patterns in different services and model types. (2) User conversation patterns: counts and intervals within conversations for service optimizations. (3) Model response lengths: auto-regressive serving processes of GPT models, showing statistical relations between requests and their responses. (4) System response failures: failures of conversation and API services, showing intensive resource needs and limited availability of LLM services in Azure. The details of the characteristics can serve multiple purposes in LLM serving optimizations, such as system evaluation and trace provisioning. In our demo evaluation with BurstGPT, frequent variations in BurstGPT reveal declines in efficiency, stability, or reliability in realistic LLM serving. We identify that the generalization of KV cache management, scheduling and disaggregation optimizations can be improved under realistic workload evaluations. BurstGPT is publicly available now at https://github.com/HPMLL/BurstGPT and is widely used to develop prototypes of LLM serving frameworks in the industry.

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

↑