NewsCrawler.org

Emulating FP64 matrix products with INT8, FP8 and FP4 operations on GPUs

The Ozaki scheme II[1] emulates FP64[2] matrix products with INT8 operations, using residues modulo pairwise coprime moduli. Variants for FP8 and FP4[3] have since followed. The authors treat these schemes as one family and choose a scheme by solving a combinatorial problem that minimizes the number of low-precision GEMMs[4]. Applied to the formats of current GPUs, the method gives the first FP6 schemes, an FP8 scheme with fewer GEMMs than any previous one, and an FP4 scheme that the bounds show needs the fewest GEMMs of any scheme in the family whose moduli lie in a stated range. The method also derives lower bounds on the GEMM count over the whole family, and it works for any format, accumulator and inner dimension. Implemented on three Blackwell GPUs, the INT8, FP8 and FP4 schemes run faster than native FP64, up to 83x on B300.

Product NVIDIA B300 docs.nvidia.com

NVIDIA B300 is a Blackwell Ultra GPU, the Tensor Core accelerator used in DGX B300 systems for AI training and inference.

Read the original arxiv.orgDiscussion

Discussion

Commenters are split on the paper: some find it very hard to read, while others call the speedups impressive. Several ask why fewer GEMMs would matter rather than the fastest operations at the needed precision, and why anyone needs FP64 matrix products in practice, since low-precision computation accumulated into bf16 is often enough.

Sources

  • arXiv

    FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have

    59 comments

  • KRGeekNews KO

    원하는 것은 FP64, 필요한 것은 INT8, 가진 것은 FP4/6/8

    1 point1 comment

Published: First seen: Читать по-русски

Open as a page