Synkhronos: a Multi-GPU Theano Extension for Data Parallelism

Adam Stooke, Pieter Abbeel
10/11/2017
cs.DCcs.AIcs.LG

Official code: astooke/Synkhronos (20 stars, Python, MIT, last commit 2017-09-26).

Abstract

We present Synkhronos, an extension to Theano for multi-GPU computations leveraging data parallelism. Our framework provides automated execution and synchronization across devices, allowing users to continue to write serial programs without risk of race conditions.

Show full abstract

The NVIDIA Collective Communication Library is used for high-bandwidth inter-GPU communication. Further enhancements to the Theano function interface include input slicing (with aggregation) and input indexing, which perform common data-parallel computation patterns efficiently. One example use case is synchronous SGD, which has recently been shown to scale well for a growing set of deep learning problems. When training ResNet-50, we achieve a near-linear speedup of 7.5x on an NVIDIA DGX-1 using 8 GPUs, relative to Theano-only code running a single GPU in isolation. Yet Synkhronos remains general to any data-parallel computation programmable in Theano. By implementing parallelism at the level of individual Theano functions, our framework uniquely addresses a niche between manual multi-device programming and prescribed multi-GPU training routines.

View on arXivView PDF

Code Implementations(1)

astooke/SynkhronosOfficial100%
MIT

Extension to Theano for multi-GPU data parallelism

205PythonFeb 2, 20179 years agoMIT

Similar Papers

Cite this paper

@article{stooke2017synkhronos,
  title  = {Synkhronos: a Multi-GPU Theano Extension for Data Parallelism},
  author = {Adam Stooke and Pieter Abbeel},
  year   = {2017},
  eprint = {1710.04162},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1710.04162}
}

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/1710.04162.svg)](https://codeofpaper.com/paper/1710.04162)

Discussion