EDiT: A Local-SGD-Based Efficient Distributed Training Method for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Distributed training methods are crucial for large language models (LLMs). However, existing distributed training methods often suffer from communication bottlenecks, stragglers, and limited elasticity, particularly in heterogeneous or large-scale environments. Local SGD methods have been proposed to address these issues, but their effectiveness remains limited to small-scale training due to additional memory overhead and lack of concerns on efficiency and stability. To tackle these issues, we propose EDiT, an innovative Efficient Distributed Training method that combines a tailored Local SGD approach with model sharding techniques to enhance large-scale training efficiency. EDiT performs layer-wise parameter synchronization during forward pass, reducing communication and memory overhead and enabling overlap. Besides, EDiT employs a pseudo gradient penalty strategy to suppress loss spikes, which ensures training stability and improves performance. Additionally, we introduce A-EDiT, a fully asynchronous variant of EDiT that accommodates heterogeneous clusters. Building on EDiT/A-EDiT, we conduct a series of experiments to validate large-scale asynchronous training for LLMs, accompanied by comprehensive analyses. Experimental results demonstrate the superior performance of EDiT/A-EDiT, establishing them as robust solutions for distributed LLM training in diverse computational ecosystems. The code is available at Atorch codebase: https://github.com/intelligent-machine-learning/atorch/tree/main/atorch/local_sgd.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 42 references that are in the map. First posted on arXiv 10 Dec 2024.
Builds on
28 of 42 references.
References · 28
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Qwen Technical Reportcited by 3,273
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2017Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descentcited by 496
- 2018Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learningcited by 277
- 2019Tighter Theory for Local SGD on Identical and Heterogeneous Datacited by 266
- 2019Asynchronous Federated Optimizationcited by 264
- 2024A Survey on Data Selection for Language Modelscited by 230
- 2018Don't Use Large Mini-Batches, Use Local SGDcited by 201
- 2021Federated Learning with Buffered Asynchronous Aggregationcited by 188
16 more
- 2017Asynchronous Decentralized Parallel Stochastic Gradient Descentcited by 159
- 2019SlowMo: Improving Communication-Efficient Distributed SGD with Slow Momentumcited by 121
- 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 115
- 2018Adaptive Communication Strategies to Achieve the Best Error-Runtime Trade-off in Local-Update SGDcited by 76
- 2023Self-Influence Guided Data Reweighting for Language Model Pre-trainingcited by 37
- 2016Parallel SGD: When does averaging help?cited by 30
- 2022Aryl: An Elastic Cluster Scheduler for Deep Learningcited by 27
- 2023TimelyFL: Heterogeneity-aware Asynchronous Federated Learning with Adaptive Partial Trainingcited by 27
- 2023Why (and When) does Local SGD Generalize Better than SGD?cited by 26
- 2021Accelerating Gossip SGD with Periodic Global Averagingcited by 25
- 2024Asynchronous Local-SGD Training for Language Modelingcited by 24
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlapcited by 17
- 2020Local SGD With a Communication Overhead Depending Only on the Number of Workerscited by 13
- 2021Local SGD Optimizes Overparameterized Neural Networks in Polynomial Timecited by 10
- 2020STL-SGD: Speeding Up Local SGD with Stagewise Communication Periodcited by 8
- 2023Local SGD Accelerates Convergence by Exploiting Second Order Information of the Loss Functioncited by 1
Built on by
Not cited yet.