ReCycle: Resilient Training of Large DNNs using Pipeline Adaptation
Swapnil Gandhi, Mark Zhao, Athinagoras Skiadopoulos, Christos Kozyrakis
摘要
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 microbatches 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 microbatches 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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 Language Models are Few-Shot Learners
- Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication 引用了 Language Models are Few-Shot Learners
- Mycroft: Tracing Dependencies in Collective Communication Towards Reliable LLM Training 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Mycroft: Tracing Dependencies in Collective Communication Towards Reliable LLM Training 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
- Mycroft: Tracing Dependencies in Collective Communication Towards Reliable LLM Training 引用了 Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model Parallelization
- Attack of the Bubbles: Straggler-Resilient Pipeline Parallelism for Large Model Training 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Attack of the Bubbles: Straggler-Resilient Pipeline Parallelism for Large Model Training 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
- Attack of the Bubbles: Straggler-Resilient Pipeline Parallelism for Large Model Training 引用了 Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model Parallelization
- Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model Parallelization 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model Parallelization 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
- GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Language Models are Few-Shot Learners
- ZeRO-Offload: Democratizing Billion-Scale Model Training 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Hetu v2: A General and Scalable Deep Learning System with Hierarchical and Heterogeneous Single Program Multiple Data Annotations 引用了 ZeRO: memory optimizations toward training trillion parameter models
- Hetu v2: A General and Scalable Deep Learning System with Hierarchical and Heterogeneous Single Program Multiple Data Annotations 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
- Hetu v2: A General and Scalable Deep Learning System with Hierarchical and Heterogeneous Single Program Multiple Data Annotations 引用了 Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model Parallelization
- Hetu v2: A General and Scalable Deep Learning System with Hierarchical and Heterogeneous Single Program Multiple Data Annotations 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
引用它的顶会 Paper16
- Mycroft: Tracing Dependencies in Collective Communication Towards Reliable LLM TrainingYangtao Deng, Lei Zhang, Qinlong Wang, Xiaoyun Zhi 等SOSP 2025 · 7 次引用
- Hetu v2: A General and Scalable Deep Learning System with Hierarchical and Heterogeneous Single Program Multiple Data AnnotationsHaoyang Li, Fangcheng Fu, Hao Ge, Sheng Lin 等OSDI 2026 · 7 次引用
- Malleus: Straggler-Resilient Hybrid Parallel Training of Large-scale Models via Malleable Data and Model ParallelizationHaoyang Li, Fangcheng Fu, Hao Ge, Sheng Lin 等SIGMOD 2025 · 6 次引用
- Attack of the Bubbles: Straggler-Resilient Pipeline Parallelism for Large Model TrainingTianyuan Wu, Lunxi Cao, Hanfeng Lu, Xiaoxiao Jiang 等NSDI 2026 · 5 次引用
- Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient ReplicationAnkit Bhardwaj, Weiyang Wang, Jeremy Carin, Adam Belay 等NSDI 2026 · 3 次引用
它引用的 Paper22
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
- ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 次引用
- ZeRO-Offload: Democratizing Billion-Scale Model TrainingJie Ren, Samyam Rajbhandari, Reza Yazdani Aminabadi, Olatunji Ruwase 等USENIX ATC 2021 · 657 次引用
- Efficient large-scale language model training on GPU clusters using megatron-LMDeepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick LeGresley 等SC 2021 · 576 次引用
相关 Paper
- Oobleck: Resilient Distributed Training of Large Models Using Pipeline TemplatesInsu Jang, Zhenning Yang, Zhen Zhang, Xin Jin 等SOSP 2023 · 27 次引用
- Bamboo: Making Preemptible Instances Resilient for Affordable Training of Large DNNsJohn Thorpe, Pengzhan Zhao, Jonathan Eyolfson, Yifan Qiao 等NSDI 2023 · 144 次引用
- Chameleon: Adaptive Fault Tolerance for Distributed Training via Real-time Policy SelectionYuhang Zhou, Zhibin Wang, Peng Jiang, Haoran Xia 等INFOCOM 2026
- SPARe: Stacked Parallelism with Adaptive Reordering for Fault-Tolerant LLM Pretraining Systems with 100k+ GPUsJin Lee, Zhonghao Chen, Xuhang He, Robert Underwood 等ICML 2026 · 1 次引用
- AdaptPipe: Mitigating Runtime Bubbles via Granularity-Adaptive Scheduling under Memory ConstraintsYumeng Cui, Jessie Hui Wang, Najila Liu, Ling Deng 等INFOCOM 2026
