mlsanityData to 7 Oct 2026

ReCycle: Resilient Training of Large DNNs using Pipeline Adaptation

arXiv 2405.14009 ↗First posted 22 May 2024cs.DC cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

Training large Deep Neural Network (DNN) models requires thousands of GPUs over the course of several days or weeks. At this scale, failures are frequent and can have a big impact on training throughput. Utilizing spare GPU servers to mitigate performance loss becomes increasingly costly as model sizes grow. ReCycle is a system designed for efficient DNN training in the presence of failures, without relying on spare servers. It exploits the inherent functional redundancy in distributed training systems -- where servers across data-parallel groups store the same model parameters -- and pipeline schedule bubbles within each data-parallel group. When servers fails, ReCycle dynamically re-routes micro-batches to data-parallel peers, allowing for uninterrupted training despite multiple failures. However, this re-routing can create imbalances across pipeline stages, leading to reduced training throughput. To address this, ReCycle introduces two key optimizations that ensure re-routed micro-batches are processed within the original pipeline schedule's bubbles. First, it decouples the backward pass into two phases: one for computing gradients for the input and another for calculating gradients for the parameters. Second, it avoids synchronization across pipeline stages by staggering the optimizer step. Together, these optimizations enable adaptive pipeline schedules that minimize or even eliminate training throughput degradation during failures. We describe a prototype for ReCycle and show that it achieves high training throughput under multiple failures, outperforming recent proposals for fault-tolerant training such as Oobleck and Bamboo by up to 1.46× and 1.64×, respectively.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 40 of its 75 references that are in the map. First posted on arXiv 22 May 2024.

Builds on

40 of 75 references.

References · 40

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2020Scaling Laws for Neural Language Modelscited by 6,411
  4. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  7. 2016Pointer Sentinel Mixture Modelscited by 2,992
  8. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  9. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  10. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  11. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  12. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
28 more
  1. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
  2. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
  3. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  4. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
  5. 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 275
  6. 2014One weird trick for parallelizing convolutional neural networkscited by 264
  7. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
  8. 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
  9. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
  10. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
  11. 2017Revisiting Distributed Synchronous SGDcited by 142
  12. 2024MegaScale: Scaling Large Language Model Training to More Than 10,000 GPUscited by 111
  13. 2020PyTorch Distributed: Experiences on Accelerating Data Parallel Trainingcited by 87
  14. 2019Analysis of Large-Scale Multi-Tenant GPU Clusters for DNN Training Workloadscited by 79
  15. 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelinescited by 68
  16. 2022Bamboo: Making Preemptible Instances Resilient for Affordable Training of Large DNNscited by 49
  17. 2018Supporting Very Large Models using Automatic Dataflow Graph Partitioningcited by 43
  18. 2019Themis: Fair and Efficient GPU Cluster Schedulingcited by 43
  19. 2021Varuna: Scalable, Low-cost Training of Massive Deep Learning Modelscited by 40
  20. 2023Oobleck: Resilient Distributed Training of Large Models Using Pipeline Templatescited by 40
  21. 2022Machine Learning Model Sizes and the Parameter Gapcited by 39
  22. 2020Deep Learning Training in Facebook Data Centers: Design of Scale-up and Scale-out Systemscited by 37
  23. 2018Data Dropout: Optimizing Training Data for Convolutional Neural Networkscited by 23
  24. 2023Hanayo: Harnessing Wave-like Pipeline Parallelism for Enhanced Large Model Training Efficiencycited by 20
  25. 2023Unicron: Economizing Self-Healing LLM Training at Scalecited by 16
  26. 2020TensorOpt: Exploring the Tradeoffs in Distributed DNN Training with Auto-Parallelismcited by 10
  27. 2018Online Job Scheduling in Distributed Machine Learning Clusterscited by 9
  28. 2019Dynamic Mini-batch SGD for Elastic Distributed Training: Learning in the Limbo of Resourcescited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 7; 2026: 5.

14 papers.

Sort:

By area: