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

HyGen:通过弹性在线-离线请求共置实现高效 LLM 服务

HyGen: Efficient LLM Serving via Elastic Online-Offline Request Co-location

Siebel School of Computing and Data Science, University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校计算机与数据科学学院);Department of Computer Science, Purdue University(普渡大学计算机科学系)

Ting Sun, Penghan Wang, Fan Lai

AI总结:

本文提出 HyGen,一个感知干扰的 LLM 服务系统,通过延迟预测器和 SLO 感知分析器等性能控制机制及离线调度策略,实现在线与离线工作负载的高效共置,在保证延迟 SLO 的同时使吞吐量提升高达 3.9-5.8 倍。

摘要:

大型语言模型(LLMs)已促进了一系列具有不同服务级别目标(SLOs)的应用,从对延迟敏感的在线任务(如交互式聊天机器人)到面向吞吐量的离线工作负载(如数据合成)。现有的部署模型为每种工作负载分配专用机器,简化了 SLO 管理但常导致资源利用率低下。本文提出 HyGen,一个感知干扰的 LLM 服务系统,能在保持 SLO 的同时实现在线与离线工作负载的高效共置。HyGen 包含两项关键创新:(1)性能控制机制,包括用于估计批处理执行时间的延迟预测器和用于量化延迟干扰的 SLO 感知分析器;(2)SLO 感知离线调度策略,最大化服务吞吐量并防止饥饿。在生产工作负载上的评估表明,HyGen 相比在线和混合服务基线实现了高达 3.9-5.8 倍的吞吐量提升,同时确保了延迟 SLO。HyGen 代码已在 https://github.com/UIUC-MLSys/HyGen 公开。

英文摘要:

Large language models (LLMs) have facilitated a wide range of applications with distinct service-level objectives (SLOs), from latency-sensitive online tasks like interactive chatbots to throughput-oriented offline workloads like data synthesis. The existing deployment model, which dedicates machines to each workload, simplifies SLO management but often leads to poor resource utilization. This paper introduces HyGen, an interference-aware LLM serving system that enables efficient co-location of online and offline workloads while preserving SLOs. HyGen incorporates two key innovations: (1) performance control mechanisms, including a latency predictor to estimate batch execution time and an SLO-aware profiler to quantify latency interference, and (2) SLO-aware offline scheduling policies that maximize serving throughput and prevent starvation. Our evaluation on production workloads shows that HyGen achieves up to 3.9-5.8x throughput gains over online and hybrid serving baselines, while ensuring latency SLOs. The code of HyGen is publicly available at https://github.com/UIUC-MLSys/HyGen.

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

↑