English

ACCO: Accumulate While You Communicate for Communication-Overlapped Sharded LLM Training

Machine Learning 2025-10-15 v3 Artificial Intelligence

Abstract

Training LLMs relies on distributed implementations using multiple GPUs to compute gradients in parallel with sharded optimizers. However, synchronizing gradients in data parallel setups introduces communication overhead that grows with the number of workers, limiting parallelization efficiency. Local optimization algorithms reduce communications but incur high memory costs as they prevent optimizer state sharding, hindering scalability. To address this, we propose \textbf{AC}cumulate while \textbf{CO}mmunicate (ACCO), a memory-efficient optimization algorithm for distributed LLM training. By synchronizing delayed gradients while computing new ones, ACCO reduces GPU idle time and supports heterogeneous hardware. To mitigate the convergence issues caused by delayed updates, we introduce a novel technique ensuring training dynamics align with standard distributed optimization. Compared to ZeRO-1, our approach is significantly faster and scales effectively across heterogeneous hardware.

Keywords

Cite

@article{arxiv.2406.02613,
  title  = {ACCO: Accumulate While You Communicate for Communication-Overlapped Sharded LLM Training},
  author = {Adel Nabli and Louis Fournier and Pierre Erbacher and Louis Serrano and Eugene Belilovsky and Edouard Oyallon},
  journal= {arXiv preprint arXiv:2406.02613},
  year   = {2025}
}
R2 v1 2026-06-28T16:53:26.257Z