arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.02536cs.AR
收藏

ReGate:在神经处理单元中实现电源门控

ReGate: Enabling Power Gating in Neural Processing Units

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Yuqi Xue, Jian Huang

AI总结:

针对NPU静态功耗占比高的问题,本文提出硬件/软件协同设计的ReGate,按组件特性实现细粒度电源门控,平均节能15.5%且硬件开销低于3.3%。

摘要:

神经处理单元(NPU)的能效在发展可持续数据中心方面正发挥着关键作用。我们对不同世代NPU芯片的研究表明,由于现代NPU芯片缺乏电源管理支持,其30%至72%的能耗来自静态功耗。本文提出ReGate,通过硬件/软件协同设计,实现NPU芯片中每个硬件组件的细粒度电源门控。与面向通用处理器的传统电源门控技术不同,由于硬件架构和程序执行模型的根本差异,在NPU中实现电源门控面临独特挑战。为应对这些挑战,我们仔细研究了NPU芯片各组件中的电源门控机会,并确定最适合的电源管理方案(即硬件管理还是软件管理的电源门控)。具体而言,对于具有确定性执行模式的脉动阵列(SA),ReGate遵循SA中固有的数据流执行,以处理单元(PE)为粒度实现周期级电源门控。对于具有较长空闲间隔的芯片间互连(ICI)和HBM控制器,ReGate采用轻量级的基于硬件的空闲检测机制。对于空闲周期随工作负载模式显著变化的向量单元和SRAM,ReGate扩展了NPU ISA,并允许编译器等软件管理电源门控。通过在生产级NPU模拟器上的实现,我们表明ReGate可将NPU芯片的能耗降低至多32.8%(平均15.5%),同时对AI工作负载性能的影响可忽略不计。电源门控逻辑的硬件实现给NPU芯片带来低于3.3%的开销。

英文摘要:

The energy efficiency of neural processing units (NPU) is playing a critical role in developing sustainable data centers. Our study with different generations of NPU chips reveals that 30%-72% of their energy consumption is contributed by static power dissipation, due to the lack of power management support in modern NPU chips. In this paper, we present ReGate, which enables fine-grained power-gating of each hardware component in NPU chips with hardware/software co-design. Unlike conventional power-gating techniques for generic processors, enabling power-gating in NPUs faces unique challenges due to the fundamental difference in hardware architecture and program execution model. To address these challenges, we carefully investigate the power-gating opportunities in each component of NPU chips and decide the best-fit power management scheme (i.e., hardware- vs. software-managed power gating). Specifically, for systolic arrays (SAs) that have deterministic execution patterns, ReGate enables cycle-level power gating at the granularity of processing elements (PEs) following the inherent dataflow execution in SAs. For inter-chip interconnect (ICI) and HBM controllers that have long idle intervals, ReGate employs a lightweight hardware-based idle-detection mechanism. For vector units and SRAM whose idle periods vary significantly depending on workload patterns, ReGate extends the NPU ISA and allows software like compilers to manage the power gating. With implementation on a production-level NPU simulator, we show that ReGate can reduce the energy consumption of NPU chips by up to 32.8% (15.5% on average), with negligible impact on AI workload performance. The hardware implementation of power-gating logic introduces less than 3.3% overhead in NPU chips.

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

↑