paper-with-me

Papers

EmbRace: Accelerating Sparse Communication for Distributed Training of NLP Neural Networks

2021-10-18 · Shengwei Li, Zhiquan Lai, Dongsheng Li, Yiming Zhang, Xiangyu Ye, Yabo Duan

Distributed data-parallel training has been widely adopted for deep neural network (DNN) models. Although current deep learning (DL) frameworks scale well for dense models like image classification models, we find that these DL frameworks have relatively low scalability for sparse models like natural language processing (NLP) models that have highly sparse embedding tables. Most existing works overlook the sparsity of model parameters thus suffering from significant but unnecessary communication overhead. In this paper, we propose EmbRace, an efficient communication framework to accelerate communications of distributed training for sparse models. EmbRace introduces Sparsity-aware Hybrid Communication, which integrates AlltoAll and model parallelism into data-parallel training, so as to reduce the communication overhead of highly sparse parameters. To effectively overlap sparse communication with both backward and forward computation, EmbRace further designs a 2D Communication Scheduling approach which optimizes the model computation procedure, relaxes the dependency of embeddings, and schedules the sparse communications of each embedding row with a priority queue. We have implemented a prototype of EmbRace based on PyTorch and Horovod, and conducted comprehensive evaluations with four representative NLP models. Experimental results show that EmbRace achieves up to 2.41X speedup compared to the state-of-the-art distributed training baselines.

📄 PDF Abstract BibTeX arXiv:2110.09132

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage ClassificationScheduling

Similar Papers 제목 키워드 기반

MiCRO: Near-Zero Cost Gradient Sparsification for Scaling and Accelerating Distributed DNN Training

2023-10-02 · Daegun Yoon, Sangyoon Oh

Gradient sparsification is a communication optimisation technique for scaling and accelerating distributed deep neural network (DNN) training. It reduces the increasing communication traffic for gradient aggregation. How…

DeAR: Accelerating Distributed Deep Learning with Fine-Grained All-Reduce Pipelining

2023-02-24 · Lin Zhang, Shaohuai Shi, Xiaowen Chu, Wei Wang 외

Communication scheduling has been shown to be effective in accelerating distributed training, which enables all-reduce communications to be overlapped with backpropagation computations. This has been commonly adopted in …

AllGPUScheduling

Communication optimization strategies for distributed deep neural network training: A survey

2020-03-06 · Shuo Ouyang, Dezun Dong, Yemao Xu, Liquan Xiao

Recent trends in high-performance computing and deep learning have led to the proliferation of studies on large-scale deep neural network training. However, the frequent communication requirements among computation nodes…

S2 Reducer: High-Performance Sparse Communication to Accelerate Distributed Deep Learning

2021-10-05 · Keshi Ge, Yongquan Fu, Zhiquan Lai, Xiaoge Deng 외

Distributed stochastic gradient descent (SGD) approach has been widely used in large-scale deep learning, and the gradient collective method is vital to ensure the training scalability of the distributed deep learning sy…

Deep LearningVocal Bursts Intensity Prediction

DynaComm: Accelerating Distributed CNN Training between Edges and Clouds through Dynamic Communication Scheduling

2021-01-20 · Shangming Cai, Dongsheng Wang, Haixia Wang, Yongqiang Lyu 외

To reduce uploading bandwidth and address privacy concerns, deep learning at the network edge has been an emerging topic. Typically, edge devices collaboratively train a shared model using real-time generated data throug…

Scheduling