Lune

INFOCOM2022顶会

Efficient Pipeline Planning for Expedited Distributed DNN Training

Ziyue Luo, Xiaodong Yi, Guoping Long, Shiqing Fan, Chuan Wu, Jun Yang, Wei Lin

摘要

To train modern large DNN models, pipeline parallelism has recently emerged, which distributes the model across GPUs and enables different devices to process different microbatches in pipeline. Earlier pipeline designs allow multiple versions of model parameters to co-exist (similar to asynchronous training), and cannot ensure the same model convergence and accuracy performance as without pipelining. Synchronous pipelining has recently been proposed which ensures model performance by enforcing a synchronization barrier between training iterations. Nonetheless, the synchronization barrier requires waiting for gradient aggregation from all microbatches and thus delays the training progress. Optimized pipeline planning is needed to minimize such wait and hence the training time, which has not been well studied in the literature. This paper designs efficient, near-optimal algorithms for expediting synchronous pipeline-parallel training of modern large DNNs over arbitrary inter-GPU connectivity. Our algorithm framework comprises two components: a pipeline partition and device mapping algorithm, and a pipeline scheduler that decides processing order of microbatches over the partitions, which together minimize the per-iteration training time. We conduct thorough theoretical analysis, extensive testbed experiments and trace-driven simulation, and demonstrate our scheme can accelerate training up to 157% compared with state-of-the-art designs.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Memory-Efficient Pipeline-Parallel DNN Training 引用了 DAPPLE: a pipelined data parallel approach for training large models
  • Prediction-Assisted Online Distributed Deep Learning Workload Scheduling in GPU Clusters 引用了 Memory-Efficient Pipeline-Parallel DNN Training
  • Prediction-Assisted Online Distributed Deep Learning Workload Scheduling in GPU Clusters 引用了 DAPPLE: a pipelined data parallel approach for training large models
  • Prediction-Assisted Online Distributed Deep Learning Workload Scheduling in GPU Clusters 引用了 Practical Performance Guarantees for Pipelined DNN Inference
  • Asteroid: Resource-Efficient Hybrid Pipeline Parallelism for Collaborative DNN Training on Heterogeneous Edge Devices 引用了 DAPPLE: a pipelined data parallel approach for training large models
  • Practical Performance Guarantees for Pipelined DNN Inference 引用了 Memory-Efficient Pipeline-Parallel DNN Training
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Asteroid: Resource-Efficient Hybrid Pipeline Parallelism for Collaborative DNN Training on Heterogeneous Edge DevicesShengyuan Ye, Liekang Zeng, Xiaowen Chu, Guoliang Xing 等MobiCom 2024 · 29 次引用
  2. Prediction-Assisted Online Distributed Deep Learning Workload Scheduling in GPU ClustersZiyue Luo, Jia Liu, Myungjin Lee, Ness B. ShroffINFOCOM 2025 · 5 次引用
  3. Practical Performance Guarantees for Pipelined DNN InferenceAaron Archer, Matthew Fahrbach, Kuikui Liu, Prakash PrabhuICML 2024 · 1 次引用

它引用的 Paper3

  1. Memory-Efficient Pipeline-Parallel DNN TrainingDeepak Narayanan, Amar Phanishayee, Kaiyu Shi, Xie Chen 等ICML 2021 · 283 次引用
  2. DAPPLE: a pipelined data parallel approach for training large modelsShiqing Fan, Yi Rong, Chen Meng, Zongyan Cao 等PPoPP 2021 · 224 次引用
  3. HetPipe: Enabling Large DNN Training on (Whimpy) Heterogeneous GPU Clusters through Integration of Pipelined Model Parallelism and Data ParallelismJay H. Park, Gyeongchan Yun, Chang M. Yi, Nguyen T. Nguyen 等USENIX ATC 2020 · 178 次引用

相关 Paper

  1. GraphPipe: Improving Performance and Scalability of DNN Training with Graph Pipeline ParallelismByungsoo Jeon, Mengdi Wu, Shiyi Cao, Sunghyun Kim 等ASPLOS 2025 · 10 次引用
  2. Efficient Algorithms for Device Placement of DNN Graph OperatorsJakub Tarnawski, Amar Phanishayee, Nikhil R. Devanur, Divya Mahajan 等NeurIPS 2020 · 84 次引用
  3. Elastic Averaging for Efficient Pipelined DNN TrainingZihao Chen, Chen Xu, Weining Qian, Aoying ZhouPPoPP 2023 · 10 次引用
  4. Addressing Network Bottlenecks with Divide-and-Shuffle Synchronization for Distributed DNN TrainingWeiyan Wang, Cengguang Zhang, Liu Yang, Kai Chen 等INFOCOM 2022 · 14 次引用
  5. Training Acceleration for Deep Neural Networks: A Hybrid Parallelization StrategyZihao Zeng, Chubo Liu, Zhuo Tang, Wanli Chang 等DAC 2021 · 13 次引用
黄昏的海面,两侧是细线勾勒的悬崖