arrow
返回

Optimal distributed parallel algorithms for deep learning framework Tensorflow

delete2021-07-14
delete12
PRE
AI
Y
Yuanlun Xie
M
Majun He
T
Tingsong Ma
W
Wenhong Tian *
DOI:10.1007/s10489-021-02588-9delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Since its release, the Tensorflow framework has been widely used in various fields due to its advantages in deep learning. However, it is still at its early state. Its native distributed implementation has difficulty in expanding for large models because it has issues of low utilization of multiple GPUs and slow distribution compared with running on single machine. It is of great significance to reduce the training time through parallel models. In view of this, we firstly provided an in-depth analysis of the implementation principle of Tensorflow and identify the bottlenecks of its native distributed parallel models to improve. Then, two optimal algorithms are designed and implemented based on data parallelism and model parallelism modes of Tensorflow. For data parallelism, the proposed algorithm is implemented to replace the native linear execution mode with pipeline execution mode. As for model parallelism, the native random partitioning mode is replaced by our proposed novel greedy algorithm. Finally, we built a homogeneous distributed cluster and a heterogeneous distributed cluster respectively to verify the effectiveness of the proposed algorithms. Through a number of comparative experiments, we showed that the proposed optimal parallel algorithms can effectively reduce model training time by an average of 26.5%(or average 1.5x speedup than native distributed algorithms) and improve the utilization of the cluster while keeping the same accuracy level of native Tensorflow.
Keyword:
Deep learning
Tensorflow
Data parallelism
Model parallelism
Optimal distributed parallel algorithms
A Hybrid Parallelization Approach for Distributed and Scalable Deep Learning
err2022-01-01
err2
errOAAI
errAkintoye, Samson B.; Han, Liangxiu; Zhang, Xin; Chen, Haoming; Zhang, Daoqiang
err分享
err收藏
Towards an optimized distributed deep learning framework for a heterogeneous multi-GPU cluster
err2020-07-11
err18
PREAI
errKim, Youngrang; Choi, Hyeonseong; Lee, Jaehwan; Kim, Jik-Soo; Jei, Hyunseung; Roh, Hongchan
err分享
err收藏
ZipLine: an optimized algorithm for the elastic bulk synchronous parallel modelZipLine: 弹性批量同步并行模型的优化算法
err2021-10-19
err2
errOAAI
errZhao, Xing; Papagelis, Manos; An, Aijun; Chen, Bao Xin; Liu, Junfeng; Hu, Yonggang
err分享
err收藏

期刊

Applied Intelligence 封面图
Applied Intelligence
IF:
3.5
论文数:
7.7K
被引数:
2.2W

机构

暂无机构信息
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
err
IF0
err
err0
errOAAI
err
err分享
err收藏
Herpes simplex virus type 2 meningitis and symptomatic migraine
err2010-10-19
err0
PREAI
errTobias M. Freilinger; Martin Lieb; Christoph Schankin; Soheyl Noachtar
err分享
err收藏
The Antioxidant Response as a Drug Target in Diabetic Neuropathy
err2008-01-01
err0
PREAI
errAndrea Vincent; James Edwards; Mahdieh Sadidi; Eva Feldman
err分享
err收藏
学者 查看更多内容