DAPPLE
Shiqing Fan, Yi Rong, Meng Chen et al. · ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming · 2021
It is a challenging task to train large DNN models on sophisticated GPU platforms with diversified interconnect capabilities. Recently, pipelined training has been proposed as an effective approach for improving device utilization. However, there are still several tricky issues to address: improving computing efficiency while ensuring convergence, and reducing memory usage without incurring additional computing costs. We propose DAPPLE, a synchronous training framework which combines data parallelism and pipeline parallelism for large DNN models. It features a novel parallelization strategy planner to solve the partition and placement problems, and explores the optimal hybrid strategies of data and pipeline parallelism. We also propose a new runtime scheduling algorithm to reduce device memory usage, which is orthogonal to re-computation approach and does not come at the expense of training throughput. Experiments show that DAPPLE planner consistently outperforms strategies generated by PipeDream's planner by up to 3.23× speedup under synchronous training scenarios, and DAPPLE runtime outperforms GPipe by 1.6× speedup of training throughput and saves 12% of memory consumption at the same time.
Cited by 221 works. doi:10.1145/3437801.3441593
Authors
- Shiqing Fan
- Meng Chen
- Zongyan Cao
- Siyu Wang
- Zhen Zheng
- Chuan Wu
- Guoping Long
- Jun Yang
- Lixue Xia
- Lansong Diao
- Xiaoyong Liu
- Wei Lin
References
- ImageNet Large Scale Visual Recognition Challenge
- Deep Neural Networks for YouTube Recommendations
- PipeDream
- Billion-scale Commodity Embedding for E-commerce Recommendation in Alibaba
- GPipe: Efficient Training of Giant Neural Networks using Pipeline Parallelism
- Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerialization
- Supporting Very Large Models using Automatic Dataflow Graph Partitioning
- Large-batch training for LSTM and beyond
- Optimizing Multi-GPU Parallelization Strategies for Deep Learning Training
- Channel and filter parallelism for large-scale CNN training