arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1909.06842cs.DCcs.LG
收藏

针对AI培训对AI加速器的性能和能效进行基准测试

Benchmarking the Performance and Energy Efficiency of AI Accelerators for AI Training

Hong Kong Baptist University(香港浸会大学)

Yuxin Wang, Qiang Wang, Shaohuai Shi, Xin He, Zhenheng Tang, Kaiyong Zhao, Xiaowen Chu

摘要:

深度学习已广泛应用于复杂的人工智能应用中。然而,训练深度神经网络(DNN)模型需要大量的计算、长的运行时间和大量的能量。如今,众核AI加速器(例如,GPU和TPU)旨在提高AI训练的性能。然而,来自不同供应商的处理器在性能和能耗方面表现不一。为了研究几种流行的现成处理器之间的差异(即,英特尔CPU、英伟达GPU、AMD GPU和谷歌TPU)在训练DNN时,我们通过对一组代表性的深度学习工作负载进行基准测试,对这些处理器的性能和能效进行了全面的实证研究,包括计算密集型操作、经典卷积神经网络(CNN)、递归神经网络(LSTM)、Deep Speech 2和Transformer。与现有的端到端基准测试仅呈现训练时间不同,我们尝试调查硬件、供应商的软件库和深度学习框架对AI训练的性能和能耗的影响。我们的评估方法和结果不仅为最终用户选择合适的AI加速器提供了信息指南,而且还为硬件供应商提供了改进其软件库的机会。

英文摘要:

Deep learning has become widely used in complex AI applications. Yet, training a deep neural network (DNNs) model requires a considerable amount of calculations, long running time, and much energy. Nowadays, many-core AI accelerators (e.g., GPUs and TPUs) are designed to improve the performance of AI training. However, processors from different vendors perform dissimilarly in terms of performance and energy consumption. To investigate the differences among several popular off-the-shelf processors (i.e., Intel CPU, NVIDIA GPU, AMD GPU, and Google TPU) in training DNNs, we carry out a comprehensive empirical study on the performance and energy efficiency of these processors by benchmarking a representative set of deep learning workloads, including computation-intensive operations, classical convolutional neural networks (CNNs), recurrent neural networks (LSTM), Deep Speech 2, and Transformer. Different from the existing end-to-end benchmarks which only present the training time, We try to investigate the impact of hardware, vendor's software library, and deep learning framework on the performance and energy consumption of AI training. Our evaluation methods and results not only provide an informative guide for end-users to select proper AI accelerators, but also expose some opportunities for the hardware vendors to improve their software library.

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

↑