Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
Together AI · 2026/7/29 00:00:00
ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale

ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale

AI 中文解读
ThunderAgent来了!这项新技术能把AI生成训练数据的效率提升2倍以上,让AI"思考"得更快。以前的AI推理引擎就像一家餐厅,客人点完菜后要等半天才上菜,因为厨房经常为了接待新客人把做了一半的菜倒掉重新做。ThunderAgent改变了这个流程,让AI在等待工具返回时不再重复劳动,就像一个聪明的厨师记住了每桌客人的进度,忙而不乱。在8台服务器组成的集群上,它实现了2.4倍加速,而且随着GPU数量增加,性能还能近乎线性提升,这意味着企业可以花更少的钱获得更多数据。这项技术已被ICML 2026接收为Spotlight论文,它直接推动了CoderForge这类智能体训练数据的生成。对普通人来说,未来使用AI编程助手或智能客服时,响应速度会更快,AI的理解和完成任务的连贯性也会更强,整体体验会更像与一个思维敏捷的专业人士交流。
SummaryWe introduce ThunderAgent, a system for high throughput agentic inference. By introducing a novel program abstraction for agentic LLM request scheduling, ThunderAgent achieves up to 2.5× higher single-node throughput in our synthetic data generation pipeline, and delivers 2.4× speedup on an 8-node cluster with near-linear throughput scaling with respect to GPU nodes.Key Results→ More than 2× single-node throughput, with roughly 10× lower P50 latency at high concurrency→ 2.4× speedup on 8 nodes, near-linear scaling from 16 to 64 GPUs→ Drop-in: one program_id field, OpenAI-compatible, works with your existing engine-level optimizations (like speculative decoding)ThunderAgent was accepted to ICML 2026 as a Spotlight paper.This paper was a collaboration between researchers at Georgia Institute of Technology, the University of Illinois Urbana-Champaign, Carnegie Mellon University, and Together AI.LLMs are increasingly deployed as agents. Systems like Claude Code, Codex, and OpenClaw reason, call tools, read results, and reason again, often for dozens of turns before completing a task. Training these agents requires large scale synthetic data generation, since natural web corpora do not contain multi-turn, tool-using agent trajectories. To generate agentic datasets like our recently released CoderForge, we need to run agentic inference at high concurrency.However, existing inference engines schedule at the request level, where each LLM call is an independent unit with no awareness that it belongs to a longer, multi-turn workflow. When an agent pauses for a tool call, its KV cache can be evicted to make room for other requests, only to be recomputed from scratch when the agent resumes. This creates fundamental inefficiencies in engines such as SGLang, vLLM, and TensorRT-LLM when serving agentic workloads at high concurrency, including KV cache thrashing, imbalanced workloads across mutli-nodes, and resource waste in tool management. In this blog, we focus on the most critical: KV cache thrashing. We refer readers to our paper for a more comprehensive discussion.What hinders agentic inference at scaleAn agentic workflow alternates between two phases: the GPU-heavy reasoning phase where the model is generating tokens and the GPU-idle acting phase where the agent is waiting for a tool like a compiler to return. When hundreds of agents run concurrently, their KV caches grow at each phase, competing for limited GPU memory. Under this memory pressure, a traditional inference engine like vLLM would evict KV caches using a simple policy: least recently used, regardless of whether that cache will be needed again in seconds.The result is a vicious cycle. Agent A pauses for a tool call. Its KV cache gets evicted to make room for Agent B's prefill. When Agent A's tool returns, the engine must recompute Agent A's entire conversation history from scratch, which in turn evicts cache for Agent C's context. At high concurrency, this cascade of evictions and recomputations can lead to severe throughput and latency degradation. We refer to this problem as KV cache thrashing.Simply throwing more GPU nodes at the problem doesn't fully resolve it. Existing multi-node routers such as SGLang Model Gateway pin each agent to a fixed node to preserve cache locality. But because agentic context lengths grow unpredictably, some nodes are assigned agents with long contexts that exhaust memory, while others sit idle with capacity to spare. The overloaded nodes still face thrashing.Adopting KV cache offloading doesn't resolve the problem either. Strategies like LMCache and HiCache offload KV caches to CPU memory or disk, which expands total cache capacity but only delays thrashing. When the working set of concurrent agents exceeds all available storage tiers, evictions resume and the same vicious cycle returns.Under memory pressure, a request-level engine evicts an agent's KV cache the moment it pauses for a tool call, then must recompute the whole conversat
分享
阅读原文
ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale | BriefSum AI 情报