AscendInfraBench: Benchmarking Coding Agents for Full-Lifecycle LLM Infrastructure Engineering on Ascend NPUs
AscendInfraBench: Benchmarking Coding Agents for Full-Lifecycle LLM Infrastructure Engineering on Ascend NPUs
Zechao Chen, Sijie Wang, Zheng Bian, Xiang Li, Runping Chen, Dabiao Huang, Zeyong Cai, Jianshe Zhang, Zhe Liu, Jiayu Pan, Yonghan Dong, Yaoyuan Wang
AbstractWe introduce a task construction method for evaluating coding agents on full-lifecycle LLM infrastructure engineering. Each task fixes the model workload, required computation, state transitions, and performance objectives while leaving implementation choices open. Using this method, we construct AscendInfraBench: 24 tasks on Ascend NPUs across Pre-Training, Reinforcement Learning (RL) Training, and Serving, spanning 4 engineering scopes---Implementation Optimization, Joint Optimization, Model Adaptation, and Open Build. We evaluate 9 agents in 216 runs under a 2-hour development budget per task, analyzing correctness and performance improvement. Our study yields 3 findings: (1) Agents can already optimize supplied implementations, integrate new models, and independently build complete infrastructure, yet these scopes test distinct engineering capabilities---agents show different strengths in correct delivery and speedup across Pre-Training, RL Training, and Serving. (2) Development trajectories reveal agents choosing system architectures, diagnosing bottlenecks and correctness bugs, and using runtime feedback to validate or revise their designs. (3) Performance optimization often changes how computation, state transitions, and execution dependencies are implemented, and agents still struggle to achieve real speedups while preserving correctness. This weakness is particularly pronounced in RL Training, where model computation, training updates, weight transfer, and subsequent generation must be correctly integrated. https://ascendinfrabench.github.io/