DAPPLE: A Pipelined Data Parallel Approach for Training Large Models

Shiqing Fan, Yi Rong, Chen Meng, Zongyan Cao, Siyu Wang +8 more
7/2/2020
cs.DC

Official code: AlibabaPAI/DAPPLE (77 stars, Python, last commit 2020-12-11).

Abstract

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.

Show full abstract

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 strategy 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.23x under synchronous training scenarios, and DAPPLE runtime outperforms GPipe by 1.6x speedup of training throughput and reduces the memory consumption of 12% at the same time.

View on arXivView PDF

Code Implementations(1)

AlibabaPAI/DAPPLEOfficial100%

An Efficient Pipelined Data Parallel Approach for Training Large Model

7716Python, RustFeb 2, 20205 years ago
distribution-strategy-plannerhybrid-parallelismpipeline-parallelism

Similar Papers

Cite this paper

@article{fan2020dapple,
  title  = {DAPPLE: A Pipelined Data Parallel Approach for Training Large Models},
  author = {Shiqing Fan and Yi Rong and Chen Meng and Zongyan Cao and Siyu Wang and Zhen Zheng and Chuan Wu and Guoping Long and Jun Yang and Lixue Xia and Lansong Diao and Xiaoyong Liu and Wei Lin},
  year   = {2020},
  eprint = {2007.01045},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.01045}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.01045.svg)](https://codeofpaper.com/paper/2007.01045)

Discussion