arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.06510cs.ARcs.AIcs.DCcs.PF
收藏

FP8就是一切(第一部分):揭穿硬件FP64作为HPC圣杯的神话

FP8 is All You Need (Part 1): Debunking Hardware FP64 as the HPC Holy Grail (Sep 3rd version)

RIKEN Center for Computational Science (R-CCS)(日本计算科学研究中心(R-CCS))

Satoshi Matsuoka

AI总结:

本文通过中国剩余定理的Ozaki Scheme II,在AI优化GPU上利用FP8张量吞吐量实现全FP64精度的内存天花板性能,挑战了原生FP64硬件是科学计算基础的传统观点。

摘要:

传统HPC教条认为,原生硬件FP64硅是科学计算不可约的基础——双精度模拟的“圣杯”。本文论证该教条是错误的:在B300代及以后的AI优化GPU上,丰富的FP8张量吞吐量结合基于中国剩余定理的Ozaki Scheme II,在典型HPC内核谱上以全FP64精度恢复了内存天花板执行。NVIDIA的Blackwell Ultra (B300)将原生FP64压缩至约1.3 TFLOPS——相比B200下降31倍——使得即使是内存受限的内核(SpMV、GEMV、模板计算)也变为计算受限。我们做出四项贡献。第一,一个统一的分析模型——张量-内存均衡(TME)模型,在Roofline模型上增加了计算乘数alpha、带宽乘数beta和重建延迟gamma。第二,我们识别出寄存器级融合是驱动beta趋近于1的机制,使得模拟在内存墙后几乎免费。第三,我们预测Ozaki Scheme II将模拟FP64从约1 TFLOPS的原生下限提升至约500 TFLOPS(B300)和约400 TFLOPS(Rubin R200),在计算受限区域超过B200原生FP64上限一个数量级以上,同时在带宽受限区域匹配内存天花板。第四,与H100基线相比,Ozaki Scheme II在每个研究的工作负载上匹配或超过H100,而B300原生FP64则导致高达50倍的性能下降。结合配套的FFT分析(在幸存的INT32流水线上使用Kulisch定点重建)和配套第二部分论文中报告的FP32+Kahan归约,B300上每个被调查的内核类别都以全FP64精度达到内存天花板。证据支持标题的主张:FP8,配合Ozaki Scheme II和Kulisch逃生路线,是生产级HPC所需的一切;原生FP64硅不再是人们所认为的圣杯。

英文摘要:

We argue that on AI-optimised GPUs of the NVIDIA B300 generation and beyond, the FP8 tensor-core matrix operation, composed through CRT-based Ozaki Scheme II, can serve as the dominant matrix-work substrate for the surveyed matrix-dominated FP64 kernel classes at FP64-grade accuracy, with native FP64 recast from a hardware requirement into a derived accuracy guarantee. The claim is conditional: the FP8 op is the candidate dominant multiplication substrate, with a bounded auxiliary set of integer deconstruction/reconstruction work, FP32/Kulisch reductions, data movement and a native-FP64 fallback, organised as a hierarchy from the FP8 op through Ozaki II and the Berkeley dwarfs to applications. The instrument is the Tensor-Memory Equilibrium (TME) model, a Roofline extension with four parameters (compute multiplier $α=3r+1$, bandwidth multiplier $β$, reconstruction cost $γ$, and the per-input deconstruction cost $c_q$ identified in an NVIDIA review) under which, at its upper bound, the reduction to FP8 costs no performance against an ideal native-FP64 machine of equal bandwidth. On-chip tile fusion drives $β\to 1$; the deconstruction term sets a threshold intensity below which emulation is conversion-bound. At the fused, engineered-$c_q$ bound every surveyed class reaches the memory roof, with two priced exceptions: large dense-square DGEMM sits at a deconstruction floor near 0.50 of the FP8 arithmetic roof (about 235 of 473 TFLOPS on the NVIDIA Rubin GPU), a liftable co-design coordinate, and the 3-D FFT is walled by a per-output integer epilogue at $4.9$-$6.7\times$ its roof in software, recoverable with minor hardware and one moderate ask. Ozaki II lifts the emulated FP64 ceiling from $\approx 1.3$ to $\approx 135$ TFLOPS on B300 and $\approx 473$ on Rubin; three deconstruction-path hardware options are given; constants are engine-checked.

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

↑