paper-with-me

Papers

DiLoCo: Distributed Low-Communication Training of Language Models

2023-11-14 · Arthur Douillard, Qixuan Feng, Andrei A. Rusu, Rachita Chhaparia, Yani Donchev, Adhiguna Kuncoro, Marc'Aurelio Ranzato, Arthur Szlam, Jiajun Shen

Large language models (LLM) have become a critical component in many applications of machine learning. However, standard approaches to training LLM require a large number of tightly interconnected accelerators, with devices exchanging gradients and other intermediate states at each optimization step. While it is difficult to build and maintain a single computing cluster hosting many accelerators, it might be easier to find several computing clusters each hosting a smaller number of devices. In this work, we propose a distributed optimization algorithm, Distributed Low-Communication (DiLoCo), that enables training of language models on islands of devices that are poorly connected. The approach is a variant of federated averaging, where the number of inner steps is large, the inner optimizer is AdamW, and the outer optimizer is Nesterov momentum. On the widely used C4 dataset, we show that DiLoCo on 8 workers performs as well as fully synchronous optimization while communicating 500 times less. DiLoCo exhibits great robustness to the data distribution of each worker. It is also robust to resources becoming unavailable over time, and vice versa, it can seamlessly leverage resources that become available during training.

📄 PDF Abstract BibTeX arXiv:2311.08105

Code (0)

등록된 구현이 없습니다.

Tasks

Distributed Optimization

Methods 이 논문이 사용한 방법론

AdamW AdamW is a stochastic optimization method that modifies the typical implementation of weight decay in Adam, by decoupling [weight…

Similar Papers 제목 키워드 기반

OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication Training

2024-07-10 · Sami Jaghouar, Jack Min Ong, Johannes Hagemann

OpenDiLoCo is an open-source implementation and replication of the Distributed Low-Communication (DiLoCo) training method for large language models. We provide a reproducible implementation of the DiLoCo experiments, off…

Can Model Merging Improve Aggregation in DiLoCo?

2026-07-03 · Stefan Horoi, Benjamin Thérien, Guy Wolf, Eugene Belilovsky arxiv

Model merging techniques, which aggregate independently finetuned models into one to combine their capabilities, have become a topic of significant interest in recent years, with a broad array of methods having been prop…

Distributed Optimization

DiLoCoX: A Low-Communication Large-Scale Training Framework for Decentralized Cluster

2025-06-26 · Ji Qi, WenPeng Zhu, Li Li, Ming Wu 외

The distributed training of foundation models, particularly large language models (LLMs), demands a high level of communication. Consequently, it is highly dependent on a centralized cluster with fast and reliable interc…

Factored Gossip DiLoCo: Reducing Blocking Communication in DiLoCo

2026-06-22 · Chamin Hewa Koneputugodage, Thalaiyasingam Ajanthan, Sameera Ramasinghe, Hadi Mohaghegh Dolatabadi 외 arxiv

To make large-scale distributed training practical outside high-bandwidth datacenters, we must reduce blocking, high-volume synchronization. While DiLoCo communicates infrequently, its outer synchronization remains bandw…

Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunch

2025-01-30 · Arthur Douillard, Yanislav Donchev, Keith Rush, Satyen Kale 외

Training of large language models (LLMs) is typically distributed across a large number of accelerators to reduce training time. Since internal states and parameter gradients need to be exchanged at each and every single…

All