arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1706.03292cs.LGcs.CVcs.DCstat.ML
收藏

Poseidon:一种在GPU集群上进行分布式深度学习的高效通信架构

Poseidon: An Efficient Communication Architecture for Distributed Deep Learning on GPU Clusters

Carnegie Mellon University(卡内基梅隆大学);Petuum Inc.(Petuum公司)

Hao Zhang, Zeyu Zheng, Shizhen Xu, Wei Dai, Qirong Ho, Xiaodan Liang, Zhiting Hu, Jinliang Wei, Pengtao Xie, Eric P. Xing

摘要:

深度学习模型可能需要数周的时间在一台配备GPU的机器上进行训练,因此需要将DL训练扩展到GPU集群。然而,当前的分布式DL实现由于网络上的大量参数同步而可伸缩性差,因为GPU的高吞吐量允许每单位时间比CPU处理更多的数据批次,从而导致更频繁的网络同步。我们提出了Poseidon,一个有效的通信架构,用于GPU上的分布式DL。Poseidon利用DL程序中的分层模型结构来重叠通信和计算,减少突发网络通信。此外,Poseidon使用混合通信方案,根据层属性和机器数量优化同步每个层所需的字节数。我们通过将Poseidon插入Caffe和TensorFlow来证明Poseidon适用于不同的DL框架。我们展示了Poseidon使Caffe和TensorFlow能够在16台单GPU机器上实现15.5倍的速度提升,即使带宽有限(10 GbE)和具有挑战性的VGG 19 - 22 K网络用于图像分类。此外,Poseidon支持的TensorFlow在Inception-V3上使用32台单GPU机器实现了31.5倍的速度提升,比开源TensorFlow(20倍速度提升)提高了50%。

英文摘要:

Deep learning models can take weeks to train on a single GPU-equipped machine, necessitating scaling out DL training to a GPU-cluster. However, current distributed DL implementations can scale poorly due to substantial parameter synchronization over the network, because the high throughput of GPUs allows more data batches to be processed per unit time than CPUs, leading to more frequent network synchronization. We present Poseidon, an efficient communication architecture for distributed DL on GPUs. Poseidon exploits the layered model structures in DL programs to overlap communication and computation, reducing bursty network communication. Moreover, Poseidon uses a hybrid communication scheme that optimizes the number of bytes required to synchronize each layer, according to layer properties and the number of machines. We show that Poseidon is applicable to different DL frameworks by plugging Poseidon into Caffe and TensorFlow. We show that Poseidon enables Caffe and TensorFlow to achieve 15.5x speed-up on 16 single-GPU machines, even with limited bandwidth (10GbE) and the challenging VGG19-22K network for image classification. Moreover, Poseidon-enabled TensorFlow achieves 31.5x speed-up with 32 single-GPU machines on Inception-V3, a 50% improvement over the open-source TensorFlow (20x speed-up).

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

↑