arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.23698cs.MScs.AIcs.DCcs.PF
收藏

FP8 就够了(第二部分):通过张量核心 Garner 重构和 Kulisch 逃逸路线实现高效的 Ozaki-Bailey 风格 FFT

FP8 is All You Need (Part 2): Full-FP64 3-D FFT on FP8-Generation Tensor CoresThe Integer-Epilogue Wall and the Minimal Hardware That Would Remove It

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

Satoshi Matsuoka

AI总结:

针对 Blackwell Ultra GPU FP64 吞吐量大幅下降的问题,提出 Ozaki-Bailey FFT,利用 FP8 张量核心和 Kulisch 定点完整算术,在软件层面实现全 FP64 精度的 3-D FFT,达到内存带宽极限。

摘要:

NVIDIA 的 Blackwell Ultra (B300) 将 FP64 向量吞吐量降至每个 GPU 约 1.3 TFLOPS,比 B200 低约 30 倍,远低于带宽受限的 FP64 工作负载保持内存受限的水平。Ozaki Scheme II 框架通过尾数切分的中国剩余重构,将密集矩阵乘法路由到 FP8 张量核心,恢复 FP64 等效吞吐量。配套论文(第一部分)涵盖了密集 GEMM、批处理 GEMV、模板计算和 SpMV;本文增加了第五个典型原语:3-D FFT。我们提出 Ozaki-Bailey FFT,一种通过 Bailey 六步分解在 FP8 张量核心上使用 1-D FFT GEMM 的模拟 3-D FFT。Bailey 的小内因子 k ~ sqrt(N)(对于 N=1024,k=32)使内核处于 k << r^2 的区域,其中第三个 TME 参数 gamma(重构延迟)起约束作用而非摊销作用。Garner 重构分为阶段 A(FP8/INT8 张量核心上的内积,对于 B300 上的 1024^3 约需 1 ms)和阶段 B(每个输出的归约)。我们将 Kulisch 定点完整算术识别为阶段 B 的一种重构,它在完全在 INT32 SIMT 管道上运行时保持全 FP64 精度。我们推导出闭式带宽奇偶性下限。原生 FP64 下限为 1.56*B_HBM(在 8 TB/s 时为 12.5 TF):B300 的 1.3 TF 约低 10 倍,Rubin 的 33 TF 在 4% 以内。Kulisch 逃逸路线需要 INT32 子下限 8.25*B_HBM 和 FP8 下限 170*B_HBM;B300 两者都满足。对于 1024^3 的全 FP64,预计约需 18 ms,本质上就是 12.9 ms 的内存上限。如果 GPU 满足原生下限或同时满足两个 Kulisch 下限,则达到内存上限 FFT 奇偶性。如果该预测在实践中成立,则 B300 仅通过软件即可实现全 FP64 FFT,从而推动 libKulisch 库和基准测试活动。

英文摘要:

The NVIDIA Blackwell Ultra (B300) GPU cuts FP64 vector throughput $\sim 30\times$ while multiplying FP8 tensor throughput. After the recovery of FP64 GEMM via Ozaki Scheme II on FP8 tensor cores and the Tensor-Memory Equilibrium model of the companions ("FP8 is All You Need, Part 1" and "Ozaki 2.5") we ask whether the fifth canonical HPC primitive, the full-FP64 $1024^3$ 3-D FFT, can be carried by the same substrate, and answer with a design and its limit. It is a Bailey six-step transform with no FP64 arithmetic: FP8-tensor DFT GEMMs with fused twiddles, residue-domain Karatsuba combines and exact CRT reconstruction whose bulk is a small GEMM on the FP16 tensor path and whose remainder is a Kulisch fixed-point accumulation with a two-sided modulo-$M$ lift, so the only rounding is the final conversion; constants are machine-generated and verified bit-exactly. The central finding: the binding resource is not floating point but a per-output integer epilogue with floor $(c_{\rm epi}/8),B_{\rm mem}$, $c_{\rm epi} \approx 203$-$281$ instructions per output: on B300 it holds the transform at 63-87 ms against a 12.9 ms roof ($4.9$-$6.7\times$ short); at most $1.3$-$1.9\times$ faster than the collapsed native path, possibly no faster at realised issue rates; no software route reaches the roof; on the NVIDIA Rubin GPU emulation loses $8$-$11\times$. An FP32 variant meets the same wall: the cause is per-scalar reconstruction, not FP64. Each floor term names its remedy: the NVIDIA B200 GPU's INT8 tensor core restored with a position-weighted cross-column accumulation primitive, a load-path deconstruction datapath shared with the companions, two ISA idioms and modular reduction at the MMA output give 16.0-23.5 ms with minor hardware and 12.9-15.0 ms with one moderate ask. All figures are projected floors, not measurements, with sensitivities and the FP8 layout condition given.

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

↑