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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Jaghouar, Sami, Ong, Jack Min, Hagemann, Johannes
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910521695928320
author Jaghouar, Sami
Ong, Jack Min
Hagemann, Johannes
author_facet Jaghouar, Sami
Ong, Jack Min
Hagemann, Johannes
contents 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, offering it within a scalable, decentralized training framework using the Hivemind library. We demonstrate its effectiveness by training a model across two continents and three countries, while maintaining 90-95% compute utilization. Additionally, we conduct ablations studies focusing on the algorithm's compute efficiency, scalability in the number of workers and show that its gradients can be all-reduced using FP16 without any performance degradation. Furthermore, we scale OpenDiLoCo to 3x the size of the original work, demonstrating its effectiveness for billion parameter models.
format Preprint
id arxiv_https___arxiv_org_abs_2407_07852
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication Training
Jaghouar, Sami
Ong, Jack Min
Hagemann, Johannes
Machine Learning
Distributed, Parallel, and Cluster Computing
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, offering it within a scalable, decentralized training framework using the Hivemind library. We demonstrate its effectiveness by training a model across two continents and three countries, while maintaining 90-95% compute utilization. Additionally, we conduct ablations studies focusing on the algorithm's compute efficiency, scalability in the number of workers and show that its gradients can be all-reduced using FP16 without any performance degradation. Furthermore, we scale OpenDiLoCo to 3x the size of the original work, demonstrating its effectiveness for billion parameter models.
title OpenDiLoCo: An Open-Source Framework for Globally Distributed Low-Communication Training
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2407.07852