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

HexAGenT: 通过工作流和异构性感知调度实现高效的代理LLM服务

HexAGenT: Efficient Agentic LLM Serving via Workflow- and Heterogeneity-Aware Scheduling

HKUST(香港科技大学);Webank(微众银行);Wuhan University(武汉大学);Tsinghua University(清华大学)

You Peng, Youhe Jiang, Wenshuang Li, Xu Xu, Ke Zhou, Jiawei Jiang, Chen Wang, Binhang Yuan

AI总结:

本文提出HexAGenT,一种异构prefill-decode推理服务的工作流感知调度器,通过动态调整预填和解码位置及队列优先级,减少工作流完成SLO需求,提升效率。

摘要:

代理LLM应用越来越多地将用户请求作为涉及规划、工具使用、分支、细化和合成的多步骤工作流执行。在这样的设置中,用户经历整个工作流的端到端延迟,而不是单个LLM调用的延迟。本文研究如何在异构的prefill-decode离散LLM服务集群上调度在线代理工作流,以高效满足工作流层面的延迟目标。该问题具有挑战性,因为工作流依赖性在运行时逐步揭示,调用具有异构提示、输出和KV-cache需求,且prefill和decode阶段在异构GPU上施加不同的计算、内存和传输约束。为了解决这个问题,我们提出了HexAGenT,一种异构prefill-decode推理服务的工作流感知调度器。HexAGenT将每个请求建模为一个在线揭示的DAG,维护工作流独立完成时间线的运行估计,通过预测错过该时间线的风险优先级就绪调用,并在考虑KV-cache容量和跨阶段传输延迟的同时,联合选择prefill放置、decode放置和本地队列优先级。在代表性的代理工作负载和异构A100/H100/H200集群上,HexAGenT将及时完成工作流所需的SLO规模减少了平均20.1%(95%达成率)和33.0%(99%达成率),最大减少分别为45.0%和80.5%。

英文摘要:

Agentic LLM applications increasingly execute user requests as multi-step workflows involving planning, tool use, branching, refinement, and synthesis. In such settings, users experience the end-to-end latency of an entire workflow, not the latency of any single LLM call. In this paper, we study how to schedule online agentic workflows across heterogeneous prefill-decode disaggregated LLM serving clusters to efficiently meet workflow-level latency objectives. The problem is challenging because workflow dependencies are revealed incrementally at runtime, calls have heterogeneous prompts, outputs, and KV-cache requirements, and the prefill and decode stages impose different compute, memory, and transfer constraints across heterogeneous GPUs. To solve this problem, we present HexAGenT, a workflow-aware scheduler for a heterogeneous prefill-decode inference service. HexAGenT models each request as an online-revealed DAG, maintains a running estimate of the workflow's standalone completion horizon, prioritizes ready calls by projected risk of missing that horizon, and jointly selects prefill placement, decode placement, and local queue priority while accounting for KV-cache capacity and cross-stage transfer latency. Across representative agentic workloads and heterogeneous A100/H100/H200 clusters, HexAGenT reduces the SLO scale required for timely workflow completion by an average of 20.1% at 95% attainment and 33.0% at 99% attainment, with maximum reductions of 45.0% and 80.5%, respectively.

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

↑