arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.12426cs.ARcs.DC
收藏

FinGraV:细粒度GPU功耗可见性与洞察的方法论

FinGraV: Methodology for Fine-Grain GPU Power Visibility and Insights

Varsha Singhania, Shaizeen Aga, Mohamed Assem Ibrahim

AI总结:

FinGraV提出了一种通过执行时间分箱、CPU-GPU时间同步和功耗曲线差分来获取细粒度GPU功耗曲线的方法,为准确测量和深入洞察AMD MI300X功耗提供了指导。

摘要:

人工智能的普及使得优化GPU功耗成为优先事项,因为大型基于GPU的集群常被用于训练和提供服务AI模型。优化GPU功耗消耗的重要第一步是对GPU上关键AI计算进行高保真和细粒度的功耗测量。为此,我们观察到,随着GPU功能越来越强大,亚毫秒到毫秒级的执行使得细粒度功耗分析变得具有挑战性。在这项工作中,我们首先仔细识别了获取细粒度GPU功耗曲线所面临的挑战。为了解决这些挑战,我们设计了FinGraV方法论,其中我们采用执行时间分箱、仔细的CPU-GPU时间同步以及功耗曲线差分,以在突出的AI计算和一系列场景中收集细粒度的GPU功耗曲线。使用上述FinGraV功耗曲线,我们既提供了关于准确功耗测量的指导,也提供了对最先进的AMD Instinct MI300X上功耗消耗的深入视图。对于前者,我们强调了一种跨执行进行功耗差分的方法。对于后者,我们做出了关于GPU子组件功耗消耗和GPU功耗在不同场景下的比例性的若干观察。我们相信FinGraV解锁了GPU功耗消耗的准确且更深入的视图,并为这些无处不在的加速器的功耗优化开辟了途径。

英文摘要:

Ubiquity of AI makes optimizing GPU power a priority as large GPU-based clusters are often employed to train and serve AI models. An important first step in optimizing GPU power consumption is high-fidelity and fine-grain power measurement of key AI computations on GPUs. To this end, we observe that as GPUs get more powerful, the resulting sub-millisecond to millisecond executions make fine-grain power analysis challenging. In this work, we first carefully identify the challenges in obtaining fine-grain GPU power profiles. To address these challenges, we devise FinGraV methodology where we employ execution time binning, careful CPU-GPU time synchronization, and power profile differentiation to collect fine-grain GPU power profiles across prominent AI computations and across a spectrum of scenarios. Using the said FinGraV power profiles, we provide both, guidance on accurate power measurement and, in-depth view of power consumption on state-of-the-art AMD Instinct MI300X. For the former, we highlight a methodology for power differentiation across executions. For the latter, we make several observations pertaining to GPU sub-component power consumption and GPU power proportionality across different scenarios. We believe that FinGraV unlocks both an accurate and a deeper view of power consumption of GPUs and opens up avenues for power optimization of these ubiquitous accelerators.

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

↑