EDiT: A Local-SGD-Based Efficient Distributed Training Method for Large Language Models

Jialiang Cheng, Ning Gao, Yun Yue, Zhiling Ye, Jiadi Jiang +1 more
2/12/2026

No official code found. Best implementation: intelligent-machine-learning/atorch (62 stars, Apache-2.0, last commit 2025-08-13).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

An industrial extension library of pytorch to accelerate large scale model training

626C, C++Jun 21, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{cheng2026edit,
  title  = {EDiT: A Local-SGD-Based Efficient Distributed Training Method for Large Language Models},
  author = {Jialiang Cheng and Ning Gao and Yun Yue and Zhiling Ye and Jiadi Jiang and Jian Sha},
  year   = {2026},
  eprint = {2412.07210},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.07210},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.07210.svg)](https://codeofpaper.com/paper/2412.07210)

Discussion