面向 MoE 推理中混合优先级工作负载的优先级感知抢占式调度
Priority-Aware Preemptive Scheduling for Mixed-Priority Workloads in MoE Inference
AI总结:
本文提出 QLLM 推理系统,通过细粒度优先级感知的专家级抢占式调度解决 MoE 推理中混合优先级工作负载的队头阻塞问题,显著降低延迟敏感型作业的 TTFT 和周转时间,同时不影响吞吐量。
摘要:
大型语言模型已经彻底改变了自然语言处理,但由于数据中心中混合了延迟敏感型(LS)和尽力而为型(BE)作业的工作负载,高效地为其提供服务仍然具有挑战性。现有的推理系统采用迭代级的先到先服务调度,当 BE 作业延迟 LS 作业时会导致队头阻塞。我们引入了 QLLM,这是一种专为专家混合(MoE)模型设计的新型推理系统,具有细粒度、优先级感知的抢占式调度器。QLLM 支持专家级抢占,在最小化 LS 首 token 时间(TTFT)的同时推迟 BE 作业的执行。我们的方法消除了迭代级调度约束,使调度器能够根据优先级在任意层抢占作业。在 Nvidia A100 GPU 上的评估表明,QLLM 显著提升了性能。它将 LS TTFT 平均降低了 $65.5\ imes$,并在高达 $7$ 请求/秒的速率下满足 SLO,而基线在测试的工作负载下无法做到这一点。此外,它在不影响吞吐量的情况下将 LS 周转时间最多缩短了 $12.8\ imes$。QLLM 具有模块化、可扩展的特点,并能与 Hugging Face MoE 模型无缝集成。
英文摘要:
Large Language Models have revolutionized natural language processing, yet serving them efficiently in data centers remains challenging due to mixed workloads comprising latency-sensitive (LS) and best-effort (BE) jobs. Existing inference systems employ iteration-level first-come-first-served scheduling, causing head-of-line blocking when BE jobs delay LS jobs. We introduce QLLM, a novel inference system designed for Mixture of Experts (MoE) models, featuring a fine-grained, priority-aware preemptive scheduler. QLLM enables expert-level preemption, deferring BE job execution while minimizing LS time-to-first-token (TTFT). Our approach removes iteration-level scheduling constraints, enabling the scheduler to preempt jobs at any layer based on priority. Evaluations on an Nvidia A100 GPU show that QLLM significantly improves performance. It reduces LS TTFT by an average of $65.5\times$ and meets the SLO at up to $7$ requests/sec, whereas the baseline fails to do so under the tested workload. Additionally, it cuts LS turnaround time by up to $12.8\times$ without impacting throughput. QLLM is modular, extensible, and seamlessly integrates with Hugging Face MoE models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。