FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have
The article formalizes the Ozaki scheme II, which emulates FP64 matrix products using INT8 operations, as a combinatorial program to minimize low-precision GEMMs for FP8 and FP4 variants.
Key points
- •Ozaki scheme II emulates FP64 matrix products with INT8 ones through residues modulo pairwise coprime moduli.
- •Variants for FP8 and FP4 have followed, and these schemes are treated as one family.
- •The choice of moduli and computation methods is posed as a combinatorial program that minimizes the number of low-precision GEMMs.