Skip to content
IJK

BLOOM's 3D Parallelism With Megatron-DeepSpeed

By IJK ·

What a Hugging Face post says the DeepSpeed team developed by combining ZeRO sharding and parallelism types and what 3D parallelism allows.

What DeepSpeed combined

The DeepSpeed team developed a 3D parallelism based implementation by combining ZeRO sharding and pipeline parallelism from the DeepSpeed library with Tensor Parallelism from Megatron-LM. [1]

What 3D parallelism allows

Megatron-DeepSpeed implements 3D Parallelism to allow huge models to train in a very efficient way. [2]

The processing is done in parallel and all setups are synchronized at the end of each training step. [3]

combined withthenZeRO sharding and pipeline parallelismfrom the DeepSpeed libraryTensor parallelismfrom Megatron-LMProcessing in parallelsynchronized at the end of each training step
How does 3D parallelism work?

Sources

  1. The Hugging Face source says: The DeepSpeed team developed a 3D parallelism based implementation by combining ZeRO sharding and pipeline parallelism from the DeepSpeed library with Tensor Parallelism from Megatron-LM. The Technology Behind BLOOM Training
  2. The Hugging Face source says: Megatron-DeepSpeed implements 3D Parallelism to allow huge models to train in a very efficient way. The Technology Behind BLOOM Training
  3. The Hugging Face source says: The processing is done in parallel and all setups are synchronized at the end of each training step. The Technology Behind BLOOM Training

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • 3d parallelism
  • deepspeed
  • llm training
  • hugging face