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

HFX:多SLO服务与快速扩展的算法与系统联合设计

HFX: Joint Design of Algorithms and Systems for Multi-SLO Serving and Fast Scaling

Huawei Technologies Canada Co., Ltd.(华为技术加拿大有限公司);Simon Fraser University(西蒙弗雷泽大学);École de technologie supérieure(高等技术学院);Huawei Technologies Co., Ltd.(华为技术有限公司)
Zahra Yousefijamarani, Xinglu Wang, Qian Wang, Morgan Lindsay Heisler, Taha Shabani, Niloofar Gholipour, Parham Yassini, Hong Chang, Kan Chen, Qiantao Zhang, Xi… 展开作者

Zahra Yousefijamarani, Xinglu Wang, Qian Wang, Morgan Lindsay Heisler, Taha Shabani, Niloofar Gholipour, Parham Yassini, Hong Chang, Kan Chen, Qiantao Zhang, Xiaolong Bai, Jiannan Wang, Ying Xiong, Yong Zhang, Zhenan Fan

AI总结:

HFX通过联合优化请求调度与弹性扩展,满足多样化的SLO,实验显示在延迟、成本等方面优于现有系统。

摘要:

大型语言模型(LLM)服务面临在动态多任务负载下满足严格用户特定服务级别目标(SLO)同时最小化计算成本的双重挑战。现有方法要么依赖静态调度策略,要么专注于单任务设置,限制了在异构请求、可变提示长度和弹性扩展需求下的实际应用。我们提出HFX,一个生产级LLM服务系统,通过跨模型副本的请求调度和弹性扩展联合优化以满足多样化的SLO。HFX引入一个调度器,通过前瞻性预算估计和优先级分配确保新请求和飞行请求的SLO合规性。HFX还集成了一个缩放器,支持快速设备间(D2D)权重转移,降低冷启动延迟。此外,系统支持集中式和解耦的prefill/decode部署,适应多样化的负载模式和云环境。通过在多任务负载上的广泛实验,我们证明HFX在SLO达成率、端到端延迟和NPU使用成本方面分别比现有系统高出4.44倍、65.82%和49.81%。我们的结果突显了SLO感知调度和缩放在实际LLM服务中的有效性,提供了一个成本效益高且符合SLO的部署框架。

英文摘要:

Large language model (LLM) serving faces the dual challenge of meeting strict user-specific service-level objectives (SLOs) while minimizing computational cost under dynamic, multi-task workloads. Existing approaches either rely on static scheduling policies or focus on single-task settings, limiting their applicability in real-world deployments with heterogeneous requests, variable prompt lengths, and elastic scaling requirements. We present HFX, a production LLM serving system that jointly optimizes request scheduling and elastic scaling across model replicas to satisfy diverse SLOs. HFX introduces a \textbf{scheduler} that performs proactive budget estimation and prioritization to ensure SLO compliance for both new and in-flight requests. HFX also integrates a \textbf{scaler} that supports fast device-to-device (D2D) weight transfer, reducing cold-start latency. Additionally, the system supports both colocated and disaggregated prefill/decode deployments, enabling adaptation to diverse workload patterns and cloud environments. Through extensive experiments on multi-task workloads, we demonstrate consistently higher SLO attainment, lower end-to-end latency, and lower NPU usage cost by up to 4.44$\times$, 65.82\%, and 49.81\%, respectively, compared to state-of-the-art systems. Our results highlight the effectiveness of SLO-aware scheduling and scaling in practical LLM serving, providing a robust framework for cost-efficient and SLO-compliant deployments.

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

↑