Serving large language models (LLMs) efficiently is a recurring, time-critical optimization problem: each new model, hardware platform, and workload reopens the search for the serving configuration and code that maximize tokens per GPU under a latency objective. We call the time this search takes to reach a competitive operating point the time-to-efficiency of a deployment. The search is increasingly delegated to AI coding agents, yet writing code is no longer what limits time-to-efficiency. Every optimization candidate must be benchmarked end to end on GPUs that could otherwise serve traffic, and new candidates for coding agents cannot start until these benchmarks finish. This paper presents A2Optimizer, an Agentic AI based serving-stack Optimizer that shortens time-to-efficiency by removing most of this GPU benchmarking from the optimization loop. A2Optimizer couples coding agents with A2Sim, our performance simulator, which serves as a surrogate for the target LLM serving infrastructure. Most candidates are thus evaluated in simulation on CPUs, and GPUs are needed mainly for validation, which lets A2Optimizer substantially reduce time-to-efficiency compared with a baseline agent loop for optimizing LLM serving.
翻译:暂无翻译