Accelerate Model Parallel Training by Using Efficient Graph Traversal Order in Device Placement

Tianze Wang, Amir H. Payberah, Desta Haileselassie Hagos, Vladimir Vlassov
1/21/2022
cs.LGcs.AI

Official code: bwhub/Graph_Traversal_Order_in_Device_Placement (2 stars, Python, last commit 2022-02-09).

Abstract

Modern neural networks require long training to reach decent performance on massive datasets. One common approach to speed up training is model parallelization, where large neural networks are split across multiple devices.

Show full abstract

However, different device placements of the same neural network lead to different training times. Most of the existing device placement solutions treat the problem as sequential decision-making by traversing neural network graphs and assigning their neurons to different devices. This work studies the impact of graph traversal order on device placement. In particular, we empirically study how different graph traversal order leads to different device placement, which in turn affects the training execution time. Our experiment results show that the best graph traversal order depends on the type of neural networks and their computation graphs features. In this work, we also provide recommendations on choosing graph traversal order in device placement for various neural network families to improve the training time in model parallelization.

View on arXivView PDF

Code Implementations(1)

TBA

20Python, DockerfileJan 18, 20224 years ago

Similar Papers

Cite this paper

@article{wang2022accelerate,
  title  = {Accelerate Model Parallel Training by Using Efficient Graph Traversal Order in Device Placement},
  author = {Tianze Wang and Amir H. Payberah and Desta Haileselassie Hagos and Vladimir Vlassov},
  year   = {2022},
  eprint = {2201.09676},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.09676}
}

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/2201.09676.svg)](https://codeofpaper.com/paper/2201.09676)

Discussion