ASAP: an Agentic Solution to Auto-optimize Performance of Large-Scale LLM Training

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ding, Yuran, Chen, Xinwei, Zhang, Xiaofan, Zhou, Zongwei
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912689872175104
author Ding, Yuran
Chen, Xinwei
Zhang, Xiaofan
Zhou, Zongwei
author_facet Ding, Yuran
Chen, Xinwei
Zhang, Xiaofan
Zhou, Zongwei
contents Optimizing large-language model (LLM) training on distributed domain-specific accelerator systems presents significant challenges due to its complex optimization space. Existing optimization methods, however, rely on time-consuming manual tuning or resource-intensive black-box searches, which struggle to keep pace with the rapidly evolving LLM domain, leading to slow development and underutilized resources. To address this, we introduce ASAP, an Agentic Solution to Auto-optimize Performance of Large-Scale LLM Training. It is a multi-agent system, featuring Coordinator, Analyzer, and Proposal agents, which integrates LLM reasoning with insights from performance profiling tools, roofline analysis, and a knowledge base of best practices and successful past optimizations from human experts. Our proposed design can automate the diagnosis of performance bottlenecks and recommend optimized sharding configurations with reasoning, thus effectively improving the efficiency of distributed LLM training. Experiments have shown that the ASAP-generated sharding configurations can contribute up to 28% training step time reduction and 1.43 times throughput improvement. When combined with additional optimization from human experts, throughput can be further increased to 2.58 times. The proposed ASAP promises to provide a scalable and explainable methodology for AI-assisted performance engineering in large-scale LLM training.
format Preprint
id arxiv_https___arxiv_org_abs_2511_03844
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ASAP: an Agentic Solution to Auto-optimize Performance of Large-Scale LLM Training
Ding, Yuran
Chen, Xinwei
Zhang, Xiaofan
Zhou, Zongwei
Multiagent Systems
Optimizing large-language model (LLM) training on distributed domain-specific accelerator systems presents significant challenges due to its complex optimization space. Existing optimization methods, however, rely on time-consuming manual tuning or resource-intensive black-box searches, which struggle to keep pace with the rapidly evolving LLM domain, leading to slow development and underutilized resources. To address this, we introduce ASAP, an Agentic Solution to Auto-optimize Performance of Large-Scale LLM Training. It is a multi-agent system, featuring Coordinator, Analyzer, and Proposal agents, which integrates LLM reasoning with insights from performance profiling tools, roofline analysis, and a knowledge base of best practices and successful past optimizations from human experts. Our proposed design can automate the diagnosis of performance bottlenecks and recommend optimized sharding configurations with reasoning, thus effectively improving the efficiency of distributed LLM training. Experiments have shown that the ASAP-generated sharding configurations can contribute up to 28% training step time reduction and 1.43 times throughput improvement. When combined with additional optimization from human experts, throughput can be further increased to 2.58 times. The proposed ASAP promises to provide a scalable and explainable methodology for AI-assisted performance engineering in large-scale LLM training.
title ASAP: an Agentic Solution to Auto-optimize Performance of Large-Scale LLM Training
topic Multiagent Systems
url https://arxiv.org/abs/2511.03844