Metraipolis › archive › dc_5931ada31f3f

DGEMM with Ozaki Scheme I/II on FP4 Tensor Cores: A Base-13 E2M1 Limb Representation — arXiv:2608.06812

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.06812
License (as archived)
CC0-1.0
Archived
2026-10-19T09:47:46.571Z
SHA-256 of the archived text
6b52758a05c0f5e8f701854c87549e6e862aa8c539dd94b93e404edc66de54cb
Stable URL of this page
https://metraipolis.com/documento/dc_5931ada31f3f

How to cite

DGEMM with Ozaki Scheme I/II on FP4 Tensor Cores: A Base-13 E2M1 Limb Representation — arXiv:2608.06812 — arXiv (en), https://arxiv.org/abs/2608.06812 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5931ada31f3f (Metraipolis archive dc_5931ada31f3f, sha256 6b52758a05c0f5e8f701854c87549e6e862aa8c539dd94b93e404edc66de54cb)
BibTeX
@misc{dc5931ada31f3f,
  title = {DGEMM with Ozaki Scheme I/II on FP4 Tensor Cores: A Base-13 E2M1 Limb Representation — arXiv:2608.06812},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.06812},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5931ada31f3f; sha256 6b52758a05c0f5e8f701854c87549e6e862aa8c539dd94b93e404edc66de54cb},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.06812. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

This paper proposes a method and its implementation for emulating FP64 matrix multiplication (DGEMM) by constructing, on FP4 (E2M1; 2 exponent bits and 1 mantissa bit) Tensor Cores, Ozaki schemes I and II, which realize high-precision matrix multiplication on low-precision arithmetic units. Prior implementations were based on INT8 and FP8, and the use of the faster FP4 had not been realized. The key property is that every FP4 value becomes an integer when doubled, and that shifting this integer set by multiples of 13 covers all integers. Converting an arbitrary integer into base-13 FP4 limbs by this property keeps intermediate sums error-free in FP32 accumulators, which makes FP4 Tensor Cores usable for Ozaki schemes I and II. By the same principle, the integer GEMM of INT8 Tensor Cores can also be emulated bit-exactly on FP4 Tensor Cores. When FP4 Tensor Cores have twice the throughput of FP8, Ozaki scheme II on FP4 theoretically achieves slightly higher performance than its FP8 counterpart. This paper further proposes kernel implementation optimizations raising the attained fraction of peak performance, obtaining a measured speedup on top of the theoretical advantage. We verify this on an RTX PRO 6000 Blackwell, achieving performance competitive with that of an existing FP8-based implementation of Ozaki scheme II, and actually exceeding it at a large problem size ($16384^3$).

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-10 in cs.DC).
Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC).
Pagina del lavoro: https://arxiv.org/abs/2608.06812 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T09:47:05.163Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-08-10?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).