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

Horovod:在TensorFlow中快速简单的分布式深度学习

Horovod: fast and easy distributed deep learning in TensorFlow

Uber Technologies, Inc.(优步科技公司)

Alexander Sergeev, Mike Del Balso

摘要:

训练现代深度学习模型需要大量的计算,通常由GPU提供。将计算从一个GPU扩展到多个GPU可以实现更快的训练和研究进展,但需要两个复杂的问题。首先,训练库必须支持GPU间的通信。根据所采用的特定方法,这种通信可能需要从可忽略到显著的开销。其次,用户必须修改他或她的训练代码,以利用GPU间的通信。根据训练库的API,所需的修改可能很大,也可能很小。在TensorFlow库下启用多GPU训练的现有方法需要不可忽略的通信开销,并且需要用户大量修改其模型构建代码,导致许多研究人员避免整个混乱并坚持较慢的单GPU训练。在本文中,我们介绍了Horovod,这是一个开源库,它改善了扩展的两个障碍:它通过减少环来实现高效的GPU间通信,并且只需要对用户代码进行几行修改,从而在TensorFlow中实现更快,更容易的分布式训练。Horovod可以在Apache 2.0许可证下获得,网址为https://github.com/uber/horovod

英文摘要:

Training modern deep learning models requires large amounts of computation, often provided by GPUs. Scaling computation from one GPU to many can enable much faster training and research progress but entails two complications. First, the training library must support inter-GPU communication. Depending on the particular methods employed, this communication may entail anywhere from negligible to significant overhead. Second, the user must modify his or her training code to take advantage of inter-GPU communication. Depending on the training library's API, the modification required may be either significant or minimal. Existing methods for enabling multi-GPU training under the TensorFlow library entail non-negligible communication overhead and require users to heavily modify their model-building code, leading many researchers to avoid the whole mess and stick with slower single-GPU training. In this paper we introduce Horovod, an open source library that improves on both obstructions to scaling: it employs efficient inter-GPU communication via ring reduction and requires only a few lines of modification to user code, enabling faster, easier distributed training in TensorFlow. Horovod is available under the Apache 2.0 license at https://github.com/uber/horovod

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

↑