Ling 团队提出面向 LLM 智能体负载的推理与环境协同调度方法:优先跑最长轨迹、让轨迹留在持有其 KV cache 的 worker 上,环境槽位紧张时最长链优先。在 BFCL、SWE-bench Multilingual、WideSearch、MCP-Atlas 上,批完成时间下降 10.4% 至 65.0%,评测分数不变。该方法已用于 Ling-3.x 模型的训练与评测。
Great practical paper on speeding up agent evals and RL rollouts.
For agent batches, they suggest running the longest trajectories first, because they determine when the whole batch finishes.
Agent tasks alternate between model inference and environment steps, so GPUs and sandboxes wait on each other. The Ling team schedules both together. Trajectories stay on the workers that hold their KV cache, and when environment slots are limited, the longest chains get priority.
On BFCL, SWE-bench Multilingual, WideSearch, and MCP-Atlas, batch completion time drops by 10.4% to 65.0% with the same evaluation scores. The methods now run in training and evaluation for the Ling-3.x models.
Takeaway: If your eval runs end with a few long trajectories while the other workers sit idle, look at scheduling before buying more GPUs.
https://arxiv.org/abs/2611.16661
Chat with Paper: https://academy.dair.ai/papers/reducing-batch-makespan-for-llm-agent-workloads-through-inference-environment-co-2611.16661
来源:DAIR.AI · x.com