arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.07917cs.DC
收藏

SageSched: 面对需求不确定性和混合性的高效LLM调度

SageSched: Efficient LLM Scheduling Confronting Demand Uncertainty and Hybridity

Shanghai Jiao Tong University(上海交通大学)

Zhenghao Gan, Yichen Bao, Yifei Liu, Chen Chen, Quan Chen, Minyi Guo

AI总结:

SageSched通过结合提示内容和历史结果预测输出长度分布,同时考虑计算和内存成本,实现高效LLM调度,提升整体效率超过28.7%。

摘要:

高效的LLM推理调度对用户体验至关重要。然而,LLM推理表现出显著的需求不确定性(在输出长度确定前未知)和混合性(既需要计算资源又需要内存资源)。现有LLM调度器依赖简单的启发式方法或仅关注计算资源,导致性能不优。在本文中,我们提出了SageSched,一个高效的LLM调度器,能够妥善处理推理工作负载的需求不确定性和混合性。SageSched结合提示内容与过去的推理结果,以轻量且准确的方式预测输出长度分布。同时,它考虑计算和内存方面,建模推理请求的真实服务成本。最后,SageSched采用一种不确定性意识的调度策略,能够在请求成本分布下实现最佳整体效率。在多种设置下的测试床实验表明,SageSched可以实现超过28.7%的效率提升。

英文摘要:

Efficient LLM inference scheduling is crucial for user experience. However, LLM inferences exhibit remarkable demand uncertainty (with unknown output length beforehand) and hybridity (being both compute and memory intensive). Existing LLM schedulers rely on simple heuristics or focus purely on compute resource, suffering suboptimal performance. In this work, we propose SageSched, an efficient LLM scheduler that properly handles demand uncertainty and hybridity of inference workloads. SageSched combines prompt contents with the past inference results to predict output-length distribution in a light-weight and also accurate manner. Meanwhile, it models the true service cost of an inference request with both compute and memory aspects considered. Finally, SageSched employs an uncertainty-aware scheduling policy that can yield the best overall efficiency given the request cost distributions. Testbed experiments over diverse setups confirm that SageSched can attain an efficiency improvement of over 28.7%.

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

↑