Energy is now a critical ML computing resource. While measuring energy consumption and observing trends is a valuable first step, accurately understanding and diagnosing why those differences occur is crucial for optimization. To that end, we begin by presenting a large-scale measurement study of inference time and energy across the generative AI landscape with 46 models, 7 tasks, and 1,858 different configurations on NVIDIA H100 and B200 GPUs. Our empirical findings span order-of-magnitude variations: LLM task type can lead to 25$\times$ energy differences, video generation sometimes consumes more than 100$\times$ the energy of images, and GPU utilization differences can result in 3--5$\times$ energy differences. Based on our observations, we present a framework for reasoning about the underlying mechanisms that govern time and energy consumption. The essence is that time and energy are determined by latent metrics like memory and utilization, which are in turn affected by various factors across the algorithm, software, and hardware layers. Our framework also extends directly to throughput per watt, a critical metric for power-constrained datacenters.


翻译:能量已成为机器学习计算的关键资源。尽管测量能耗并观察趋势是重要的第一步,但准确理解并诊断差异产生的原因对于优化至关重要。为此,我们首先开展了一项大规模测量研究,涵盖生成式AI领域的推理时间和能耗,涉及46个模型、7项任务以及1,858种不同配置,测试平台为NVIDIA H100和B200 GPU。我们的实证研究发现存在数量级差异:大语言模型任务类型可导致25倍的能耗差异,视频生成的能耗有时超过图像的100倍,而GPU利用率差异可能导致3-5倍的能耗变化。基于这些观察,我们提出了一个用于理解支配时间和能耗的底层机制的框架。其核心在于:时间和能耗由内存和利用率等潜在指标决定,而这些指标又受到算法、软件和硬件各层多种因素的影响。我们的框架还可直接扩展至每瓦吞吐量这一功率受限数据中心的关键指标。

0
下载
关闭预览

相关内容

【ICML2022】通过能量最小化学习迭代推理
专知会员服务
26+阅读 · 2022年7月3日
美智库最新报告:小数据人工智能潜力不可估量,39页pdf
专知会员服务
77+阅读 · 2021年11月18日
深度学习了解一下(附53页Slides)
专知
48+阅读 · 2019年5月20日
关于数据挖掘,有几本书推荐给你......
图灵教育
16+阅读 · 2017年10月11日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
国家自然科学基金
4+阅读 · 2014年12月31日
Arxiv
0+阅读 · 2月21日
Deep Learning for Energy Markets
Arxiv
11+阅读 · 2019年4月10日
VIP会员
最新内容
反制无人机:乌克兰提供的五点启示
专知会员服务
4+阅读 · 9月23日
《各指挥层级均亟需红队能力》报告
专知会员服务
6+阅读 · 9月23日
《航电任务系统框架(FAMOS)》50页报告
专知会员服务
4+阅读 · 9月22日
《对抗行动中的人工智能与自主性》智库报告
专知会员服务
7+阅读 · 9月22日
《从数据到胜利:战争中的分析优势之争》
专知会员服务
10+阅读 · 9月22日
战争不仅需要机器人:人类仍不可或缺
专知会员服务
5+阅读 · 9月21日
《描绘美国防部创新基础设施的未来蓝图》100页
专知会员服务
10+阅读 · 9月21日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
国家自然科学基金
4+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员