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

SLOs-Serve:多SLO大语言模型的优化服务

SLOs-Serve: Optimized Serving of Multi-SLO LLMs

Carnegie Mellon University(卡内基梅隆大学);Google(谷歌公司)

Siyuan Chen, Zhipeng Jia, Samira Khan, Arvind Krishnamurthy, Phillip B. Gibbons

AI总结:

针对具有应用和阶段特定SLO的多阶段LLM请求服务问题,提出SLOs-Serve系统,通过基于多SLO动态规划的算法优化token分配,支持多SLO和多副本服务,平均提升每GPU服务容量2.2倍。

摘要:

本文介绍了SLOs-Serve,这是一个为服务具有应用和阶段特定服务水平目标(SLO)的多阶段大语言模型(LLM)请求而设计的系统。SLOs-Serve的核心思想是定制token分配以满足这些SLO要求。SLOs-Serve使用基于多SLO动态规划的算法,通过探索分块预填充和(可选)推测解码的完整设计空间,在SLO约束下持续优化token分配。利用该资源规划算法,SLOs-Serve有效支持多SLO和多副本服务,具有动态请求路由能力,同时能应对突发请求。我们在6个LLM应用场景(包括摘要生成、编码、聊天机器人、工具调用和推理)中的评估表明,与现有最先进系统相比,SLOs-Serve的每GPU服务容量平均提升2.2倍。

英文摘要:

This paper introduces SLOs-Serve, a system designed for serving multi-stage large language model (LLM) requests with application- and stage-specific service level objectives (SLOs). The key idea behind SLOs-Serve is to customize the allocation of tokens to meet these SLO requirements. SLOs-Serve uses a multi-SLO dynamic programming-based algorithm to continuously optimize token allocations under SLO constraints by exploring the full design space of chunked prefill and (optional) speculative decoding. Leveraging this resource planning algorithm, SLOs-Serve effectively supports multi-SLOs and multi-replica serving with dynamic request routing while being resilient to bursty arrivals. Our evaluation across 6 LLM application scenarios (including summarization, coding, chatbot, tool calling, and reasoning) demonstrates that SLOs-Serve improves per-GPU serving capacity by 2.2x on average compared to prior state-of-the-art systems.

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

↑