arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.05979cs.DC
收藏

基于GPU的分布式深度学习框架性能建模与评估

Performance Modeling and Evaluation of Distributed Deep Learning Frameworks on GPUs

Shaohuai Shi, Qiang Wang, Xiaowen Chu

摘要:

深度学习框架已经被广泛部署在GPU服务器上,用于学术界和工业界的深度学习应用。在训练深度神经网络(DNN)时,有许多标准的过程或算法,例如卷积和随机梯度下降(SGD),但是即使在相同的GPU硬件上运行相同的深度模型,不同框架的运行性能也可能不同。在这项研究中,我们评估了四种最先进的分布式深度学习框架(即,Caffe-MPI、CNTK、MXNet和TensorFlow)在单GPU、多GPU和多节点环境中的应用。我们首先在使用SGD训练DNN时建立标准过程的性能模型,然后我们用三种流行的卷积神经网络(即,AlexNet、GoogleNet和ResNet-50),然后分析了造成这四种框架性能差距的因素。通过分析和实验分析,我们确定了可以进一步优化的瓶颈和开销。主要的贡献是,所提出的性能模型和分析提供了进一步的优化方向,在算法设计和系统配置。

英文摘要:

Deep learning frameworks have been widely deployed on GPU servers for deep learning applications in both academia and industry. In training deep neural networks (DNNs), there are many standard processes or algorithms, such as convolution and stochastic gradient descent (SGD), but the running performance of different frameworks might be different even running the same deep model on the same GPU hardware. In this study, we evaluate the running performance of four state-of-the-art distributed deep learning frameworks (i.e., Caffe-MPI, CNTK, MXNet, and TensorFlow) over single-GPU, multi-GPU, and multi-node environments. We first build performance models of standard processes in training DNNs with SGD, and then we benchmark the running performance of these frameworks with three popular convolutional neural networks (i.e., AlexNet, GoogleNet and ResNet-50), after that, we analyze what factors that result in the performance gap among these four frameworks. Through both analytical and experimental analysis, we identify bottlenecks and overheads which could be further optimized. The main contribution is that the proposed performance models and the analysis provide further optimization directions in both algorithmic design and system configuration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑