arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1710.04162cs.DCcs.AIcs.LG
收藏

Synkhronos:一种面向数据并行的多GPU Theano扩展

Synkhronos: a Multi-GPU Theano Extension for Data Parallelism

University of California, Berkeley(加州大学伯克利分校)

Adam Stooke, Pieter Abbeel

摘要:

我们提出了Synkhronos,一个扩展Theano的多GPU计算利用数据并行。我们的框架提供跨设备的自动执行和同步,允许用户继续编写串行程序,而不会有竞争条件的风险。NVIDIA Collective Communication Library用于GPU间的高带宽通信。Theano函数接口的进一步增强包括输入切片(具有聚合)和输入索引,它们可以有效地执行常见的数据并行计算模式。一个示例用例是同步SGD,最近已经证明它可以很好地扩展越来越多的深度学习问题。在训练ResNet-50时,我们在使用8个GPU的NVIDIA DGX-1上实现了7.5倍的近线性加速,相对于仅运行单个GPU的Theano代码。然而,Synkhronos仍然适用于Theano中可编程的任何数据并行计算。通过在单个Theano函数级别实现并行性,我们的框架独特地解决了手动多设备编程和规定的多GPU训练例程之间的利基。

英文摘要:

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. 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.

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

↑