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

通过内核级DVFS减少LLM中的计算浪费

Reducing Compute Waste in LLMs through Kernel-Level DVFS

University of Twente(特文特大学)

Jeffrey Spaan, Kuan-Hsun Chen, Ana-Lucia Varbanescu

AI总结:

本研究提出内核级DVFS方法,通过优化频率配置显著降低LLM训练能耗,同时仅小幅牺牲性能。

摘要:

人工智能的快速发展推动了基于加速器或GPU的数据中心扩张。然而,日益增长的操作能耗已成为关键瓶颈和主要的可持续性问题。动态电压和频率调节(DVFS)是一种广为人知的技术,用于减少能耗,从而提高能效,因为它需要很少的努力,并且可以与现有硬件配合使用。通过DVFS或功率限制来减少大型语言模型(LLM)的训练和推断能耗是可行的:相关工作已显示节能可以显著,但以显著的减速为代价。在本工作中,我们专注于减少LLM操作中的浪费:即在不损失性能的情况下减少能耗。我们提出了一种细粒度、内核级的DVFS方法,探索了新的频率配置,并证明这些方法比之前的通过或迭代级解决方案节省更多能源。例如,对于一个GPT-3训练运行,通过级方法可以将能耗降低2%(不损失性能),而我们的内核级方法节省了多达14.6%(伴有0.6%的减速)。我们进一步研究了数据和张量并行性的影响,并展示了我们发现的时钟频率在两者中都表现良好。我们得出结论,内核级DVFS是一种适合减少LLM操作中浪费的技术,能够提供显著的节能效果,同时带来可忽略的减速。

英文摘要:

The rapid growth of AI has fueled the expansion of accelerator- or GPU-based data centers. However, the rising operational energy consumption has emerged as a critical bottleneck and a major sustainability concern. Dynamic Voltage and Frequency Scaling (DVFS) is a well-known technique used to reduce energy consumption, and thus improve energy-efficiency, since it requires little effort and works with existing hardware. Reducing the energy consumption of training and inference of Large Language Models (LLMs) through DVFS or power capping is feasible: related work has shown energy savings can be significant, but at the cost of significant slowdowns. In this work, we focus on reducing waste in LLM operations: i.e., reducing energy consumption without losing performance. We propose a fine-grained, kernel-level, DVFS approach that explores new frequency configurations, and prove these save more energy than previous, pass- or iteration-level solutions. For example, for a GPT-3 training run, a pass-level approach could reduce energy consumption by 2% (without losing performance), while our kernel-level approach saves as much as 14.6% (with a 0.6% slowdown). We further investigate the effect of data and tensor parallelism, and show our discovered clock frequencies translate well for both. We conclude that kernel-level DVFS is a suitable technique to reduce waste in LLM operations, providing significant energy savings with negligible slow-down.

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

↑