arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1606.06234cs.LGcs.DC
收藏

CNNLab:一种基于GPU和FPGA的并行神经网络框架--一个实用的权衡分析研究

CNNLab: a Novel Parallel Framework for Neural Networks using GPU and FPGA-a Practical Study with Trade-off Analysis

UCSB(加州大学圣巴巴拉分校);USTC(中国科学技术大学)

Maohua Zhu, Liu Liu, Chao Wang, Yuan Xie

摘要:

设计和实现高效的、可证明正确的并行神经网络处理是具有挑战性的。现有的高级并行抽象(如MapReduce)表现力不足,而MPI和Pthreads等低级工具则让ML专家反复解决相同的设计挑战。然而,多样性和大规模的数据量对构建灵活和高性能的深度学习神经网络实现提出了重大挑战。为了提高性能并保持可扩展性,我们提出了CNNLab,一种使用基于GPU和FPGA的加速器的新型深度学习框架。CNNLab为用户提供了一个统一的编程模型,使得硬件实现和调度对程序员是不可见的。在运行时,CNNLab在将任务卸载到加速器之前,利用GPU和FPGA之间的权衡。在最先进的Nvidia K40 GPU和Altera DE 5 FPGA板上的实验结果表明,CNNLab可以提供一个通用的框架,有效地支持不同的应用程序,而不会增加程序员的负担。此外,我们分析了详细的定量性能,吞吐量,功率,能量和性能密度的两种方法。实验结果利用GPU和FPGA之间的权衡,并为深度学习研究社区提供了有用的实践经验。

英文摘要:

Designing and implementing efficient, provably correct parallel neural network processing is challenging. Existing high-level parallel abstractions like MapReduce are insufficiently expressive while low-level tools like MPI and Pthreads leave ML experts repeatedly solving the same design challenges. However, the diversity and large-scale data size have posed a significant challenge to construct a flexible and high-performance implementation of deep learning neural networks. To improve the performance and maintain the scalability, we present CNNLab, a novel deep learning framework using GPU and FPGA-based accelerators. CNNLab provides a uniform programming model to users so that the hardware implementation and the scheduling are invisible to the programmers. At runtime, CNNLab leverages the trade-offs between GPU and FPGA before offloading the tasks to the accelerators. Experimental results on the state-of-the-art Nvidia K40 GPU and Altera DE5 FPGA board demonstrate that the CNNLab can provide a universal framework with efficient support for diverse applications without increasing the burden of the programmers. Moreover, we analyze the detailed quantitative performance, throughput, power, energy, and performance density for both approaches. Experimental results leverage the trade-offs between GPU and FPGA and provide useful practical experiences for the deep learning research community.

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

↑