arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.05473cs.DCcs.PFeess.SP
收藏

GPTPU:使用边缘张量处理单元加速应用

GPTPU: Accelerating Applications using Edge Tensor Processing Units

Kuan-Chieh Hsu, Hung-Wei Tseng

摘要:

神经网络(NN)加速器已经被集成到广泛的计算机系统中,以适应对人工智能(AI)和机器学习(ML)应用的快速增长的需求。NN加速器共享为多维张量数据上的操作提供本地硬件支持的想法。因此,NN加速器理论上是张量处理器,可以提高任何使用张量作为输入/输出的问题的系统性能。不幸的是,商业上可用的NN加速器仅通过AI/ML特定的接口暴露计算能力。此外,NN加速器揭示了很少的硬件设计细节,因此应用程序无法轻松利用NN加速器提供的张量操作。本文介绍了边缘张量处理单元(GPTPU)上的通用计算,这是一个开源的开放架构框架,允许开发人员和研究社区发现NN加速器为应用程序提供的机会。GPTPU包括一个强大的编程接口,具有高效的运行时系统级支持--类似于GPGPU计算中的CUDA/OpenCL--以弥合应用需求和不匹配的硬件/软件接口之间的差距。我们构建的GPTPU机器使用边缘张量处理单元(Edge TPU),这些单元广泛可用,并代表许多商业NN加速器。我们确定了几个新的用例,并重新审视了算法。通过利用底层边缘TPU来执行基于张量算法的计算内核,我们的结果表明,GPTPU可以实现比高端CPU高2.46倍的加速,并将能耗降低40%。

英文摘要:

Neural network (NN) accelerators have been integrated into a wide-spectrum of computer systems to accommodate the rapidly growing demands for artificial intelligence (AI) and machine learning (ML) applications. NN accelerators share the idea of providing native hardware support for operations on multidimensional tensor data. Therefore, NN accelerators are theoretically tensor processors that can improve system performance for any problem that uses tensors as inputs/outputs. Unfortunately, commercially available NN accelerators only expose computation capabilities through AI/ML-specific interfaces. Furthermore, NN accelerators reveal very few hardware design details, so applications cannot easily leverage the tensor operations NN accelerators provide. This paper introduces General-Purpose Computing on Edge Tensor Processing Units (GPTPU), an open-source, open-architecture framework that allows the developer and research communities to discover opportunities that NN accelerators enable for applications. GPTPU includes a powerful programming interface with efficient runtime system-level support -- similar to that of CUDA/OpenCL in GPGPU computing -- to bridge the gap between application demands and mismatched hardware/software interfaces. We built GPTPU machine uses Edge Tensor Processing Units (Edge TPUs), which are widely available and representative of many commercial NN accelerators. We identified several novel use cases and revisited the algorithms. By leveraging the underlying Edge TPUs to perform tensor-algorithm-based compute kernels, our results reveal that GPTPU can achieve a 2.46x speedup over high-end CPUs and reduce energy consumption by 40%.

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

↑