FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have
Comparison of different precision levels (FP64, INT8, FP4/6/8) in AI models regarding performance and needs.
AI-generated summary
This paper introduces the Ozaki scheme II, which emulates FP64 matrix products using INT8 operations via modular arithmetic. Variants for FP8 and FP4 have also been developed. The research frames the selection of these schemes as a combinatorial problem to minimize the number of low-precision General Matrix Multiplications (GEMMs). The method identifies optimal schemes for current GPU formats, including novel FP6 and improved FP8/FP4 schemes, demonstrating significant speedups over native FP64, up to 83x on Blackwell GPUs.
Hacker News submitter: peter_d_sherman
Submitted to Hacker News: