arXiv AI By Wei Feng, Meiling Chen, Boxiao Chen, Lu Liu, Bin Zi, Libin Ye, Xingyu Lu, Lei Xu, Jun Zhou

Reducing Batch Makespan for LLM Agent Workloads through Inference-Environment Coordination

Read the original on arXiv AI →

The paper presents coordinated optimizations to reduce batch makespan for large language model (LLM) agent workloads, which alternate between inference and environment interaction. It introduces a workload-based resource model for GPU-memory allocation, trajectory-aware routing and scheduling for cache reuse, and Chain-Advancing Action Scheduling (CAAS) to prioritize long chains under constrained environment capacity. Live evaluations on several benchmarks show makespan reductions ranging from 10.4% to 65.0% while maintaining evaluation scores, and the methods have been applied to accelerate the Ling-3.x model development cycle.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Machine Learning
5d ago

BatchGen: An Architecture for Scalable and Efficient Batch Inference

BatchGen introduces a new sequence coroutine compute model that treats each sequence as a fine‑grained, event‑driven coroutine, enabling dynamic reorganization of work to handle extreme load variation and maintain high GPU utilization. The system is production‑ready and, on a 128‑GPU cluster, reduces batch completion time by up to 2.3×, while on memory‑constrained accelerators it outperforms the strongest offloading baseline by up to 9.6×. BatchGen will be open‑source at https://github.com/batchgen-project/batchgen.

By Tairan Xu, Leyang Xue, Zhan Lu, Jinfu Deng, Hongyang Xiao, Yinsicheng Jiang, Congjie He, Matej Sandor, Le Xu, Luo Mai
Hugging Face Trending Papers
Sep 28

AgentPerfBench: A Benchmarking and Evaluation Suite for Inference Performance of Agentic LLMs

AgentPerfBench is a new benchmarking suite designed to evaluate the inference performance of agentic large language models (LLMs) that handle multi‑turn, tool‑using, and context‑expanding tasks. It builds on real traces from agentic benchmarks such as SWE‑Bench and TerminalBench, and generates synthetic profiles that reflect realistic input/output lengths and turn counts. The suite also provides kernel‑level Nsight Compute traces and a multi‑dimensional roofline model to identify hardware bottlenecks and quantify the gap between traditional chat benchmarks and agentic workloads.

arXiv AI
1d ago

Contexture: Runtime Context Eviction for High-Throughput Agent Serving

Contexture is a harness‑ and model‑agnostic runtime context eviction system that separates an LLM agent’s full conversation history from its execution context, thereby reducing shared GPU key‑value cache demand. By tracing tokens to their originating tool operations, it identifies and removes superseded tokens—64% of final‑history tokens—while coordinating with global cache pressure to decide when eviction is justified. Experiments across two models, harnesses, and benchmarks show throughput gains of 20–73% over existing methods and up to 11% lower GPU energy per session, with minimal impact on accuracy.

By Colin Hong, Bryan Shan, Wei Siong Pang, Chengzhi Lu, Xu Guo, Nitin Shivaraman, Tao Luo, Esha Choukse, Kisson Lin, Dmitrii Ustiugov
arXiv AI
Nov 14

Together Compiler: Continual Compilation for AI Inference

Together Compiler (TKCC) is a continual agent‑driven optimization system for AI inference that addresses the trade‑off between measurement throughput and fidelity. It introduces a Tiered Persistent Engine to separate engine launch overhead from forward‑pass computation and a cost model to seed parallelism configurations. TKCC achieves up to 1.7× speed‑ups over hand‑written Megakernels on Llama 1B and up to 2.6× higher TPS on frontier models across hardware platforms, while also delivering state‑of‑the‑art batch‑size‑1 performance.

By Reyna Abhyankar, Dylan Lim, Drew Wadsworth, Venkata Hasith Vattikuti, YuTong Julia Zhang, Jung Hwan Heo, Taeksang Kim, Kesavan Ramakrishnan, Evangelene Stanley, Xinyu Fang, Daniel Y. Fu, Simran Arora