LLMPrism: Black-box Performance Diagnosis for Production LLM Training Platforms
By: Zhihan Jiang , Rui Ren , Guangba Yu and more
Potential Business Impact:
Finds problems in AI training to save computer power.
Large Language Models (LLMs) have brought about revolutionary changes in diverse fields, rendering LLM training of utmost importance for modern enterprises. To meet this demand, multi-tenant large-scale LLM training platforms have been built to offer LLM training services. Nevertheless, due to the complexity and synchronous nature of LLM training process, performance issues occur frequently and can result in substantial resource wastage. The limited visibility from the perspective of platform providers impedes existing profiling methods and poses challenges to the monitoring and diagnosis of the performance of LLM training jobs. For the first time, this paper proposes the utilization of underlying network flow data to reconstruct the training timelines of jobs based on the distinct characteristics in the LLM training procedure. We design LLMPrism, the first black-box performance diagnosis system for LLM training platforms. By progressively recognizing LLM training jobs, identifying their parallelism strategies, and reconstructing the training timelines, LLMPrism achieves non-intrusive, lightweight, and continuous monitoring of LLM training systems. Leveraging this monitoring capability, it further effectively diagnoses potential performance issues. Since Oct. 2024, LLMPrism has been deployed on our large-scale production Platform-X, in which the evaluations and deployment experiences demonstrate that LLMPrism can achieve accurate timeline reconstruction with an error within 0.3% and effectively diagnose various performance issues.
Similar Papers
Auditing M-LLMs for Privacy Risks: A Synthetic Benchmark and Evaluation Framework
Cryptography and Security
Finds private info from social media pictures.
Prompting for Performance: Exploring LLMs for Configuring Software
Software Engineering
AI helps pick best computer settings faster.
PRISM: Probabilistic Runtime Insights and Scalable Performance Modeling for Large-Scale Distributed Training
Distributed, Parallel, and Cluster Computing
Predicts training time for giant computer jobs.