Optimizing Distributed Training on Frontier for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have demonstrated remarkable success as foundational models, benefiting various downstream applications through fine-tuning. Recent studies on loss scaling have demonstrated the superior performance of larger LLMs compared to their smaller counterparts. Nevertheless, training LLMs with billions of parameters poses significant challenges and requires considerable computational resources. For example, training a one trillion parameter GPT-style model on 20 trillion tokens requires a staggering 120 million exaflops of computation. This research explores efficient distributed training strategies to extract this computation from Frontier, the world's first exascale supercomputer dedicated to open science. We enable and investigate various model and data parallel training techniques, such as tensor parallelism, pipeline parallelism, and sharded data parallelism, to facilitate training a trillion-parameter model on Frontier. We empirically assess these techniques and their associated parameters to determine their impact on memory footprint, communication latency, and GPU's computational efficiency. We analyze the complex interplay among these techniques and find a strategy to combine them to achieve high throughput through hyperparameter tuning. We have identified efficient strategies for training large LLMs of varying sizes through empirical analysis and hyperparameter tuning. For 22 Billion, 175 Billion, and 1 Trillion parameters, we achieved GPU throughputs of 38.38%, 36.14%, and 31.96%, respectively. For the training of the 175 Billion parameter model and the 1 Trillion parameter model, we achieved 100% weak scaling efficiency on 1024 and 3072 MI250X GPUs, respectively. We also achieved strong scaling efficiencies of 89% and 87% for these two models.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 17 of its 27 references that are in the map. First posted on arXiv 20 Dec 2023.
Builds on
17 of 27 references.
References · 17
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
5 more
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelinescited by 68
- 2021AutoDEUQ: Automated Deep Ensemble with Uncertainty Quantificationcited by 31
- 2022Asynchronous Decentralized Bayesian Optimization for Large Scale Hyperparameter Optimizationcited by 6
Built on by
Citing papers per year: 2024: 5; 2025: 3; 2026: 4.
12 papers.
- 2024PROXYQA: An Alternative Framework for Evaluating Long-Form Text Generation with Large Language Modelscited by 23
- 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictabilitycited by 17
- 2025Democratizing AI: Open-source Scalable LLM Training on GPU-based Supercomputerscited by 7
- 2025AstroMLab 4: Benchmark-Topping Performance in Astronomy Q&A with a 70B-Parameter Domain-Specialized Reasoning Modelcited by 7
- 2024KD-LoRA: A Hybrid Approach to Efficient Fine-Tuning with LoRA and Knowledge Distillationcited by 6
- 2024Scalable Artificial Intelligence for Science: Perspectives, Methods and Exemplarscited by 2
- 2024Comprehensive Performance Modeling and System Design Insights for Foundation Modelscited by 0
- 2025The Artificial Scientist -- in-transit Machine Learning of Plasma Simulationscited by 0
- 2026Scaling Vision Transformers: Evaluating DeepSpeed for Image-Centric Workloadscited by 0
- 2026Architecture-Aware LLM Inference Optimization on AMD Instinct GPUs: A Comprehensive Benchmark and Deployment Studycited by 0
- 2026Transforming the Use of Earth Observation Data: Exascale Training of a Generative Compression Model with Historical Priors for up to 10,000x Data Reductioncited by 0
- 2026ReCoVer: Resilient LLM Pre-Training System via Fault-Tolerant Collective and Versatile Workloadcited by 0
- 2026ReCoVer: Resilient LLM Pre-Training System via Fault-Tolerant Collective and Versatile Workload11 May 2026
- 2026Transforming the Use of Earth Observation Data: Exascale Training of a Generative Compression Model with Historical Priors for up to 10,000x Data Reduction9 May 2026
- 2026Architecture-Aware LLM Inference Optimization on AMD Instinct GPUs: A Comprehensive Benchmark and Deployment Study27 Feb 2026
- 2026Scaling Vision Transformers: Evaluating DeepSpeed for Image-Centric Workloads24 Feb 2026
- 2025AstroMLab 4: Benchmark-Topping Performance in Astronomy Q&A with a 70B-Parameter Domain-Specialized Reasoning Model23 May 2025
- 2025Democratizing AI: Open-source Scalable LLM Training on GPU-based Supercomputers12 Feb 2025
- 2025The Artificial Scientist -- in-transit Machine Learning of Plasma Simulations6 Jan 2025
- 2024KD-LoRA: A Hybrid Approach to Efficient Fine-Tuning with LoRA and Knowledge Distillation28 Oct 2024
- 2024Comprehensive Performance Modeling and System Design Insights for Foundation Models30 Sep 2024
- 2024Scalable Artificial Intelligence for Science: Perspectives, Methods and Exemplars24 Jun 2024
- 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictability23 Apr 2024
- 2024PROXYQA: An Alternative Framework for Evaluating Long-Form Text Generation with Large Language Models26 Jan 2024