Cyclic Data Parallelism for Efficient Parallelism of Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
Training large deep learning models requires parallelization techniques to scale. In existing methods such as Data Parallelism or ZeRO-DP, micro-batches of data are processed in parallel, which creates two drawbacks: the total memory required to store the model's activations peaks at the end of the forward pass, and gradients must be simultaneously averaged at the end of the backpropagation step. We propose Cyclic Data Parallelism, a novel paradigm shifting the execution of the micro-batches from simultaneous to sequential, with a uniform delay. At the cost of a slight gradient delay, the total memory taken by activations is constant, and the gradient communications are balanced during the training step. With Model Parallelism, our technique reduces the number of GPUs needed, by sharing GPUs across micro-batches. Within the ZeRO-DP framework, our technique allows communication of the model states with point-to-point operations rather than a collective broadcast operation. We illustrate the strength of our approach on the CIFAR-10 and ImageNet datasets.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 38 references that are in the map. First posted on arXiv 13 Mar 2024.
Builds on
24 of 38 references.
References · 24
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2016Federated Learning: Strategies for Improving Communication Efficiencycited by 1,475
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2018Local SGD Converges Fast and Communicates Littlecited by 605
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 256
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 169
12 more
- 2019Training Neural Networks with Local Error Signalscited by 136
- 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 134
- 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 101
- 2019Decoupled Greedy Learning of CNNscited by 78
- 2022Asynchronous SGD Beats Minibatch SGD Under Arbitrary Delayscited by 63
- 2019PipeMare: Asynchronous Pipeline Parallel DNN Trainingcited by 55
- 2023ZeRO++: Extremely Efficient Collective Communication for Giant Model Trainingcited by 52
- 2021Anarchic Federated Learningcited by 42
- 2018Efficient and Robust Parallel DNN Training through Model Parallelism on Multi-GPU Platformcited by 28
- 2023Can Forward Gradient Match Backpropagation?cited by 26
- 2022MiCS: Near-linear Scaling for Training Gigantic Model on Public Cloudcited by 22
- 2019On the Acceleration of Deep Learning Model Parallelism with Stalenesscited by 17
Built on by
Not cited yet.