arrow
返回

A Multidimensional Communication Scheduling Method for Hybrid Parallel DNN Training

delete2024-08-01
delete0
PRE
AI
S
Shengwei Li
K
Kai Lü
Z
Zhiquan Lai
W
Weijie Liu
K
Keshi Ge
D
Dongsheng Li *
DOI:10.1109/TPDS.2024.3406420delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The transformer-based deep neural network (DNN) models have shown considerable success across diverse tasks, prompting widespread adoption of distributed training methods such as data parallelism and pipeline parallelism. With the increasing parameter number, hybrid parallel training becomes imperative to scale training. The primary bottleneck in scaling remains the communication overhead. The communication scheduling technique, emphasizing the overlap of communication with computation, has demonstrated its benefits in scaling. However, most existing works focus on data parallelism, overlooking the nuances of hybrid parallel training. In this paper, we propose TriRace, an efficient communication scheduling framework for accelerating communications in hybrid parallel training of asynchronous pipeline parallelism and data parallelism. To achieve effective computation-communication overlap, TriRace introduces 3D communication scheduling, which adeptly leverages data dependencies between communication and computations, efficiently scheduling AllReduce communication, sparse communication, and peer-to-peer communication in hybrid parallel training. To avoid possible communication contentions, TriRace also incorporates a topology-aware runtime which optimizes the execution of communication operations by considering ongoing communication operations and real-time network status. We have implemented a prototype of TriRace based on PyTorch and Pipedream-2BW, and conducted comprehensive evaluations with three representative baselines. Experimental results show that TriRace achieves up to 1.07-1.45x speedup compared to the state-of-the-art pipeline parallelism training baseline Pipedream-2BW, and 1.24-1.81x speedup compared to the Megatron.
Keyword:
Training
Computational modeling
Processor scheduling
Pipelines
Data models
Transformers
Pipeline processing
Distributed training
deep learning
hybrid parallelism
communication scheduling

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.1W

机构

N
national university of defense technology - china
学者数:
1.8W
论文数: 1.4W
被引数: 9
引用论文

引用论文

The presence of a magnetic field on the pulsating subdwarf Balloon 090100001. Observations of 2012
err2013-10-11
err0
PREAI
errI. S. Savanov; I. I. Romaniuk; E. A. Semenko; E. S. Dmitrienko
err分享
err收藏
iMLBench: A Machine Learning Benchmark Suite for CPU-GPU Integrated Architectures
err2021-07-01
err11
PREAI
errZhang, Chenyang; Zhang, Feng; Guo, Xiaoguang; He, Bingsheng; Zhang, Xiao; Du, Xiaoyong
err分享
err收藏
A fibroblast-derived urokinase-inhibitor differing from protease nexin
err1987-12-01
err0
PREAI
errMikio Masuzawa; Hideaki Hamazaki; Kiyoshi Nishioka; Shigeo Nishiyama; Terence J. Ryan
err分享
err收藏
Structural whole‐brain covariance of the anterior and posterior hippocampus: Associations with age and memory
err2017-12-04
err0
PREAI
errKristin Nordin; Jonas Persson; Eva Stening; Agneta Herlitz; Elna‐Marie Larsson; Hedvig Söderlund
err分享
err收藏
学者 查看更多内容