arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1606.04884cs.NEcs.CV
收藏

cltorch:Torch深度神经网络库的硬件无关后端,基于OpenCL

cltorch: a Hardware-Agnostic Backend for the Torch Deep Neural Network Library, Based on OpenCL

ASAPP(ASAPP公司)

Hugh Perkins

摘要:

本文介绍了cltorch,火炬神经网络框架的硬件无关的后端。cltorch支持在来自不同硬件供应商(包括AMD、NVIDIA和Intel)的GPU上训练深度神经网络。cltorch包含足够的实现来运行AlexNet、VGG、Overfeat和GoogleNet等模型。它是使用OpenCL语言编写的,OpenCL是一种便携式计算语言,由Khronos Group管理。cltorch是Chintala的convnet-benchmarks页面上排名第一的硬件无关机器学习框架。本文介绍了在为Torch创建cltorch后端时遇到的技术挑战,并详细介绍了与快速实现硬件无关的挑战。卷积层被认为是加速硬件不可知框架的关键领域。确定了加速卷积实现的可能方法,包括:使用implicitgemm或winograd算法实现卷积,使用适用于与卷积算法相关联的几何形状的GEMM实现,或使用可插拔的硬件特定卷积实现。

英文摘要:

This paper presents cltorch, a hardware-agnostic backend for the Torch neural network framework. cltorch enables training of deep neural networks on GPUs from diverse hardware vendors, including AMD, NVIDIA, and Intel. cltorch contains sufficient implementation to run models such as AlexNet, VGG, Overfeat, and GoogleNet. It is written using the OpenCL language, a portable compute language, governed by the Khronos Group. cltorch is the top-ranked hardware-agnostic machine learning framework on Chintala's convnet-benchmarks page. This paper presents the technical challenges encountered whilst creating the cltorch backend for Torch, and looks in detail at the challenges related to obtaining a fast hardware-agnostic implementation. The convolutional layers are identified as the key area of focus for accelerating hardware-agnostic frameworks. Possible approaches to accelerating the convolutional implementation are identified including: implementation of the convolutions using the implicitgemm or winograd algorithm, using a GEMM implementation adapted to the geometries associated with the convolutional algorithm, or using a pluggable hardware-specific convolutional implementation.

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

↑