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

ELIS:带有响应长度预测器的高效 LLM 迭代调度系统

ELIS: Efficient LLM Iterative Scheduling System with Response Length Predictor

Cloud Research Team, Samsung SDS(三星SDS云研究团队)

Seungbeom Choi, Jeonghoe Goo, Eunjoo Jeon, Mingyu Yang, Minsung Jang

AI总结:

针对 LLM 服务中的队头阻塞问题,本文提出 ELIS,利用 BGE 响应长度预测器和 ISRTF 迭代调度优化推理任务排序,并在 Kubernetes 与真实轨迹仿真中验证其最高可降低 19.6% 平均作业完成时间。

摘要:

我们提出 ELIS,这是一个面向大语言模型(LLM)的服务系统,其特点是采用迭代最短剩余时间优先(ISRTF)调度器,旨在高效管理具有最短剩余 token 的推理任务。当前的 LLM 服务系统通常采用先到先服务调度策略,这可能导致“队头阻塞”问题。为克服这一限制,需要预测 LLM 推理时间并应用最短作业优先调度策略。然而,由于 LLM 的自回归特性,预测推理延迟具有挑战性。ELIS 通过使用 BGE 模型(一种基于编码器的最先进模型)为 LLM 训练响应长度预测器来解决这一挑战。此外,我们设计了 ISRTF 调度策略,这是针对现有 LLM 迭代批处理定制的最短剩余时间优先优化方案。为在工业环境中评估我们的工作,我们基于对真实用户 LLM 服务轨迹记录的研究模拟请求流。此外,我们将 ELIS 实现为 Kubernetes 上的云原生调度器系统,以评估其在生产环境中的性能。实验结果表明,ISRTF 将平均作业完成时间最多降低了 19.6%。

英文摘要:

We propose ELIS, a serving system for Large Language Models (LLMs) featuring an Iterative Shortest Remaining Time First (ISRTF) scheduler designed to efficiently manage inference tasks with the shortest remaining tokens. Current LLM serving systems often employ a first-come-first-served scheduling strategy, which can lead to the "head-of-line blocking" problem. To overcome this limitation, it is necessary to predict LLM inference times and apply a shortest job first scheduling strategy. However, due to the auto-regressive nature of LLMs, predicting the inference latency is challenging. ELIS addresses this challenge by training a response length predictor for LLMs using the BGE model, an encoder-based state-of-the-art model. Additionally, we have devised the ISRTF scheduling strategy, an optimization of shortest remaining time first tailored to existing LLM iteration batching. To evaluate our work in an industrial setting, we simulate streams of requests based on our study of real-world user LLM serving trace records. Furthermore, we implemented ELIS as a cloud-native scheduler system on Kubernetes to evaluate its performance in production environments. Our experimental results demonstrate that ISRTF reduces the average job completion time by up to 19.6%.

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

↑