Unofficial Hacker News companion — get notified on comment replies, and more.

FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have (opens external site)

248 points by peter_d_sherman 3 days ago | arxiv.org | 61 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (5)

  1. TL;DR: The problem is that modern AI GPUs -e.g., NVIDIA's Blackwell series - are fast at low-precision math (FP4, FP6, FP8, INT8) used for AI, but terrible at high-precision math (FP64) needed for scientific computing.

    So, they formulated a combinatorial optimization method to unify tricks that break down a single, high-precision FP64 matrix multiplication into many small, low-precision ones using modular arithmetic (the Chinese Remainder Theorem) and then reassemble the exact result.

    Conclusion: 83× speedup over native FP64 on an NVIDIA B300 GPU

    Replies (2)
    1. Wouldnt that also be interesting for training (backpropagation calculation)?
      Replies (2)
      1. Why not :)
      2. That’s the thing you don’t need FP64 for. It’s not at all clear you need 4-bit precision.
    2. To be clear, slow FP64 performance is not a feature of the Blackwell architecture in general. The B200, which is still actively manufactured and sold by NVIDIA, has full-speed FP64 throughput (I.e. half of its FP32 throughput). The B300 had its FP64 capability reduced, which is sensible as it’s a very high-memory device aimed at AI applications which don’t have FP64.