利用GPI-2对咖啡机进行分布式内存优化加速深度神经网络训练
Using GPI-2 for Distributed Memory Paralleliziation of the Caffe Toolbox to Speed up Deep Neural Network Training
摘要:
深度神经网络(DNN)目前引起了人们的研究和应用兴趣。这些网络的训练是一项计算密集型和耗时的任务。为了以合理的成本将训练时间减少到最少,我们使用高效的分布式内存通信模式扩展了DNN的流行Caffe工具箱。为了实现良好的可扩展性,我们强调计算和通信的重叠,更喜欢细粒度的同步模式的全球障碍。为了实现这些通信模式,我们依赖于全局地址空间编程接口版本2(GPI-2)通信库。该接口提供了一组轻量级的异步单边通信原语,并辅以非阻塞精细的数据同步机制。因此,Caf- feGPI是我们的Caffe并行版本的名称。第一个基准测试证明了与其他扩展(例如,英特尔TM咖啡馆。即使在具有四个图形处理单元的单个对称多处理机中,CaffeGPI也比标准Caffe工具箱更好地扩展。这些初步结果表明,使用标准的高性能计算(HPC)硬件是一种有效的节省成本的方法来训练大型DDN。I/O是在标准并行HPC设置中使用DDN的另一个瓶颈,我们将在即将发表的论文中详细讨论。
英文摘要:
Deep Neural Network (DNN) are currently of great inter- est in research and application. The training of these net- works is a compute intensive and time consuming task. To reduce training times to a bearable amount at reasonable cost we extend the popular Caffe toolbox for DNN with an efficient distributed memory communication pattern. To achieve good scalability we emphasize the overlap of computation and communication and prefer fine granu- lar synchronization patterns over global barriers. To im- plement these communication patterns we rely on the the Global address space Programming Interface version 2 (GPI-2) communication library. This interface provides a light-weight set of asynchronous one-sided communica- tion primitives supplemented by non-blocking fine gran- ular data synchronization mechanisms. Therefore, Caf- feGPI is the name of our parallel version of Caffe. First benchmarks demonstrate better scaling behavior com- pared with other extensions, e.g., the Intel TM Caffe. Even within a single symmetric multiprocessing machine with four graphics processing units, the CaffeGPI scales bet- ter than the standard Caffe toolbox. These first results demonstrate that the use of standard High Performance Computing (HPC) hardware is a valid cost saving ap- proach to train large DDNs. I/O is an other bottleneck to work with DDNs in a standard parallel HPC setting, which we will consider in more detail in a forthcoming paper.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。