Exploring Scaling Laws for Local SGD in Large Language Model Training

Qiaozhi He, Xiaomin Zhuang, Zhihua Wu
9/20/2024
cs.CLcs.LGstat.ML

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

This paper investigates scaling laws for local SGD in LLM training, a distributed optimization algorithm that facilitates training on loosely connected devices. Through extensive experiments, we show that local SGD achieves competitive results compared to conventional methods, given equivalent model parameters, datasets, and computational resources. Furthermore, we explore the application of local SGD in various practical scenarios, including multi-cluster setups and edge computing environments. Our findings elucidate the necessary conditions for effective multi-cluster LLM training and examine the potential and limitations of leveraging edge computing resources in the LLM training process. This demonstrates its viability as an alternative to single large-cluster training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{he2024exploring,
  title  = {Exploring Scaling Laws for Local SGD in Large Language Model Training},
  author = {Qiaozhi He and Xiaomin Zhuang and Zhihua Wu},
  year   = {2024},
  eprint = {2409.13198},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.13198v1}
}

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/2409.13198.svg)](https://codeofpaper.com/paper/2409.13198)

Discussion