Papers
arxiv:2211.05953

Breadth-First Pipeline Parallelism

Published on Nov 11, 2022

Abstract

Breadth-First Pipeline Parallelism optimizes training by combining high GPU utilization, small batch sizes, and fully sharded data parallelism, resulting in increased throughput and reduced training time and cost.

We introduce Breadth-First Pipeline Parallelism, a novel training schedule which optimizes the combination of pipeline and data parallelism. Breadth-First Pipeline Parallelism lowers training time, cost and memory usage by combining a high GPU utilization with a small batch size per GPU, and by making use of fully sharded data parallelism. Experimentally, we observed an increase of up to 43% in training throughput for a 52 billion-parameter model using a small batch size per GPU compared to Megatron-LM, which would reduce the training time and cost by the same amount on a large GPU cluster.

Community

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2211.05953
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2211.05953 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2211.05953 in a dataset README.md to link it from this page.

Spaces citing this paper 13

Browse 13 spaces citing this paper

Collections including this paper 1