Concepedia

Publication | Open Access

Horovod: fast and easy distributed deep learning in TensorFlow

522

Citations

4

References

2018

Year

TLDR

Training modern deep learning models requires large amounts of computation, often provided by GPUs, and scaling from one GPU to many can accelerate training but requires both inter‑GPU communication support and minimal code modifications, which existing TensorFlow methods struggle to provide efficiently. The authors introduce Horovod, an open‑source library designed to overcome these scaling obstacles. Horovod achieves this by using efficient ring‑reduction communication and needing only a few lines of code change, enabling faster, easier distributed training in TensorFlow. Horovod is available under the Apache 2.0 license at https://github.com/uber/horovod.

Abstract

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

References

YearCitations

Page 1