Ten-Four:用于混合精度GPGPU张量核心的开源融合点积单元
Ten-Four: An Open-Source Fused Dot Product Unit for Mixed-Precision GPGPU Tensor Cores
AI总结:
提出Ten-Four,一种可配置的混合精度融合点积单元,集成浮点和整数算术流水线,支持多种低精度乘法与高精度累加,在FPGA上实现4周期延迟和130.368 GFLOPS峰值吞吐,相比现有方案速度提升2.7-7.9倍且面积减少40%以上。
摘要:
高效的混合精度MMA操作对于加速GPGPU上的深度学习工作负载至关重要。然而,现有的开源张量核心实现依赖于离散算术单元设计,导致高延迟、累积舍入误差和资源利用率低下。为解决这些挑战,我们提出Ten-Four,一种可配置的混合精度融合点积单元,在统一架构中集成了浮点和整数算术流水线,作为基于RISC-V的开源Vortex GPGPU的张量核心单元扩展的一部分实现。它支持TF32/FP16/BF16/FP8/BF8/INT8/INT4的低精度乘法与更高精度FP32/INT32累加,原生支持Microscaling(MX),并具有稀疏通道时钟门控以实现动态功耗降低,同时匹配NVIDIA张量核心的数值精度。Ten-Four在Xilinx U55C FPGA上以300 MHz Fmax实现4周期延迟,每个张量核心提供130.368 GFLOPS峰值吞吐,在不到60%面积成本下,相比等效的Berkeley HardFloat和FPnew实现获得2.7倍至7.9倍加速。在7nm FinFET中的ASIC综合在1.58 GHz Fmax下实现2.771 TFLOPS/W峰值能效。
英文摘要:
Efficient mixed-precision MMA operations are critical for accelerating deep learning workloads on GPGPUs. However, existing open-source GPGPU Tensor Cores rely on discrete arithmetic units causing high latency, accumulated rounding errors, and poor resource utilization. To address these challenges, we propose Ten-Four, a configurable mixed-precision fused dot product (FEDP) unit microarchitecture implemented as part of the open-source RISC-V Vortex GPGPU's Tensor Core Unit extension. It supports low-precision multiplication in TF32, FP16, BF16, FP8, BF8, INT8 and INT4 with FP32/INT32 accumulation, native OCP Microscaling (MX), and sparse lane clock-gating for dynamic power reduction, while matching NVIDIA Tensor Core numerical accuracy. Ten-Four achieves 4-cycle latency at 300 MHz on the AMD Alveo U55C FPGA, delivering 2.7$\times$--7.9$\times$ speedup over Berkeley HardFloat and FPnew at less than 60% the area cost. We further demonstrate its format extensibility by prototyping LNSF4, an NVFP4-variant matching its perplexity with 6.7% fewer LUTs and 11.1% lower dynamic power.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。