Horovod: fast and easy distributed deep learning in TensorFlow

Alexander Sergeev, Mike Del Balso
2/15/2018
1,454 citations
cs.LGstat.ML

Official code: horovod/horovod (14,675 stars, Python, PyTorch, last commit 2026-09-17).

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

horovod/horovodOfficial100%
PyTorch

Distributed training framework for TensorFlow, Keras, PyTorch, and Apache MXNet.

14,6752,226Python, C++Aug 9, 20172 months agoNOASSERTION
baidudeep-learningdeeplearningkerasmachine-learning+8 more

Similar Papers

Cite this paper

@article{sergeev2018horovod,
  title  = {Horovod: fast and easy distributed deep learning in TensorFlow},
  author = {Alexander Sergeev and Mike Del Balso},
  year   = {2018},
  eprint = {1802.05799},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.05799}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1802.05799.svg)](https://codeofpaper.com/paper/1802.05799)

Discussion