演进中的基础设施:面向智能体自适应的大规模LLM服务
研究论文 · 2026/11/12
智能体工作负载是LLM推理需求的主要来源。现有预填充-解码(PD)分离式服务系统在运行时自适应计算分配和KV缓存管理方面灵活性有限,且依赖的粗粒度信号只能部分反映多样且动态的智能体工作负载,导致预填充与解码节点间负载不均衡,以及智能体将复用的KV缓存被驱逐。本文提出Evolving Infra,一个智能体自适应服务框架,可在运行时使计算分配适配智能体工作负载、使KV缓存管理适配智能体上下文管理。该框架将计算分配与KV缓存管理解耦,使节点能在预填充与解码之间高效切换;在此基础上,在线规划器将PD划分与工作负载构成相匹配,智能体感知的分布式KV管理器利用来自智能体上下文管理的信号指导缓存驱逐与传输。在编码、数学和计算机使用任务上,使用GLM-5.2和Kimi K2.6、最多256块GB300 GPU的实验中,Evolving Infra相比NVIDIA生产框架Dynamo,将平均端到端请求延迟和P95 TTFT分别最多降低4.1倍和14倍。
该文针对智能体工作负载下PD分离式服务的负载不均衡与KV缓存误驱逐问题提出系统性方案,并在大规模GPU集群上相对NVIDIA生产框架Dynamo取得显著延迟与TTFT改进,对LLM推理系统研究与工程实践均有参考价值。
Agentic workloads are a major source of LLM inference demand. Existing prefill--decode (PD) disaggregated serving systems offer limited flexibility for runtime adaptation of compute allocation and KV cache management, and rely on coarse signals that only partly capture the diverse and dynamic agent workload. These limitations lead to load imbalance between prefill and decode nodes and eviction of KV caches that agents will reuse. We present Evolving Infra, an agent-adaptive serving framework that adapts compute allocation to agent workloads and KV cache management to agent context management at runtime. We decouple compute allocation from key--value (KV) cache management, allowing nodes to switch efficiently between prefill and decode. Building on this design, an online planner matches the PD split to workload composition, while an agent-aware distributed KV manager guides cache eviction and transfer with signals from agent context management. Across coding, math, and computer-use tasks with GLM-5.2 and Kimi K2.6 on up to 256 GB300 GPUs, Evolving Infra reduces mean end-to-end request latency and P95 TTFT by up to 4.1x and 14x over Dynamo, NVIDIA's production framework.