GPU DVFS对深度学习能量和性能的影响:一项实证研究
The Impact of GPU DVFS on the Energy and Performance of Deep Learning: an Empirical Study
摘要:
在过去的几年里,在提高通用图形处理单元(GPGPU)的计算能力方面取得了巨大进展,这促进了深度神经网络(DNN)在计算机视觉和自然语言处理等多个领域的繁荣。典型的DNN训练过程重复更新数千万个参数,这不仅需要巨大的计算资源,而且还消耗大量的能量。为了以更节能的方式训练DNN,我们实证研究了GPU动态电压和频率缩放(DVFS)对深度学习的能耗和性能的影响。我们的实验涵盖了广泛的GPU架构,DVFS设置和DNN配置。我们观察到,与三个测试GPU的默认核心频率设置相比,最佳核心频率可以帮助节省8.7% $\sim$ 23.1%的能耗,用于不同的DNN训练案例。关于推论,获益范围为19.6% $\sim$ 26.4%。我们的研究结果表明,GPU DVFS具有很大的潜力,可以帮助开发节能的DNN训练/推理方案。
英文摘要:
Over the past years, great progress has been made in improving the computing power of general-purpose graphics processing units (GPGPUs), which facilitates the prosperity of deep neural networks (DNNs) in multiple fields like computer vision and natural language processing. A typical DNN training process repeatedly updates tens of millions of parameters, which not only requires huge computing resources but also consumes significant energy. In order to train DNNs in a more energy-efficient way, we empirically investigate the impact of GPU Dynamic Voltage and Frequency Scaling (DVFS) on the energy consumption and performance of deep learning. Our experiments cover a wide range of GPU architectures, DVFS settings, and DNN configurations. We observe that, compared to the default core frequency settings of three tested GPUs, the optimal core frequency can help conserve 8.7%$\sim$23.1% energy consumption for different DNN training cases. Regarding the inference, the benefits vary from 19.6%$\sim$26.4%. Our findings suggest that GPU DVFS has great potentials to help develop energy efficient DNN training/inference schemes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。