The work develops a unified way to choose low-precision matrix operations that reproduce FP64 matrix products. It treats Ozaki-style methods - representing calculations through residues modulo pairwise-coprime numbers - as one family, including approaches based on INT8, FP8, and FP4. For each modulus, the method considers available ways to compute the required products using low-precision matrix multiplications, then searches for the combination of moduli and computation strategies that uses the fewest such multiplications. It handles different number formats, accumulator types, and matrix inner dimensions, and derives lower bounds on the multiplication count across the family.
Applying this framework to formats supported by current GPUs yields the first proposed FP6 schemes, an FP8 scheme requiring fewer matrix multiplications than earlier approaches, and an FP4 scheme proven to use the minimum count among family members with moduli in a specified range. The researchers implemented INT8, FP8, and FP4 versions on three Blackwell GPUs and compared them with native FP64 computation. All three low-precision approaches ran faster, with the largest reported improvement reaching 83 times on an NVIDIA B300. The central practical argument is that hardware’s limited low-precision formats can be combined strategically to deliver FP64-style matrix computation much faster than native FP64 hardware.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.