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

通过Ozaki-II方案和FP8量化实现双精度矩阵乘法仿真

Double-Precision Matrix Multiplication Emulation via Ozaki-II Scheme with FP8 Quantization

Center for Computational Science RIKEN(理化学研究所计算科学中心);Department of Mathematical Science Shibaura Institute of Technology(芝浦工业大学数学科学系)

Yuki Uchino, Katsuhisa Ozaki, Toshiyuki Imamura

AI总结:

本文提出了一种基于Ozaki-II方案和FP8量化实现双精度矩阵乘法仿真的方法,相较于FP8-based Ozaki-I方案,显著降低了计算成本并实现了高效的FP64仿真。

摘要:

在本文中,我们提出了一种方法,用于模拟双精度通用矩阵-矩阵乘法(DGEMM),这是许多高性能计算应用中的基本且性能关键的内核。Ozaki-I和Ozaki-II是通过低精度矩阵乘累加(MMA)单元实现的DGEMM仿真方案。对于Ozaki-I方案,已提出基于INT8、FP8和FP16的实现,这些都可以基于相同的底层算法结构实现。相比之下,尽管已报告了Ozaki-II方案的INT8实现,但原始算法无法直接适应FP8 MMA单元。在诸如NVIDIA Blackwell Ultra和NVIDIA Rubin等最近的架构中,INT8性能已降低,使仅依赖INT8变得不足。因此,我们引入了一种新的技术,以基于Ozaki-II方案在FP8 MMA单元上实现DGEMM仿真。与FP8-based Ozaki-I方案相比,我们的方法显著降低了计算成本,并实现了高效的FP64仿真。

英文摘要:

In this paper, we propose a method for emulating double-precision general matrix--matrix multiplication (DGEMM), a fundamental and performance-critical kernel in many high-performance computing applications. Ozaki-I and Ozaki-II are established DGEMM emulation schemes via low-precision matrix multiply-accumulate (MMA) units. For the Ozaki-I scheme, INT8-, FP8-, and FP16-based implementations have been proposed, all of which can be realized based on the same underlying algorithmic structure. In contrast, although INT8-based implementations of the Ozaki-II scheme have been reported, the original algorithm cannot be directly adapted to exploit FP8 MMA units. In several recent architectures, such as NVIDIA Blackwell Ultra and NVIDIA Rubin, INT8 performance has been reduced, making reliance on INT8 alone insufficient. Therefore, we introduce a novel technique to demonstrate DGEMM emulation based on the Ozaki-II scheme that operates on FP8 MMA units. Compared to the FP8-based Ozaki-I scheme, our method significantly reduces the computational cost and enables efficient FP64 emulation.

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

↑