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

peter_d_sherman 238 points 59 comments November 29, 2026
arxiv.org · View on Hacker News

Discussion Highlights (11 comments)

larpingscholar

Up to 83x speed increase for fp64 matmul on b300. Great news for all the woefully underutilized Blackwell's out there!

moab

Yikes. Is this paper supposed to be read by humans or agents? Seems like the authors spent very little time doing any kind of readability checks. The results do look super impressive though. can anyone more in the know on why one wants fp64 matmuls in practice? Iiuc doing it at low bit and aggregating into bf16 was good enough eg when computing dot products even on pretty long vectors.

nukanse

It should be possible to replace a small tree of neurons with a smaller set of functions that back propagate more efficiently and are cheaper to calculate meanwhile using less ram/cpu per computation. It's not probable that our first shoot in the dark with neurons got the optimal math structure. Why would multiplication and addition be the only needed math, and not xor gates. Ai should be used to find that set of functions.

cubefox

Could be a nice way to do nuclear weapons testing at home.

saretup

Gotta be either 2 or infinity

saagarjha

This paper is really hard to read but it seems like they're trying to optimize for fewest GEMMs instead of normalizing for the ones that run the fastest at the precision they need? I don't really understand why you would care about having fewer GEMMs.

lucamark

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

adrian_b

On modern NVIDIA GPUs, both consumer and datacenter, any software implementation of FP64 computations will be much faster than the hardware FP64, because the hardware has 1:64 FP64:FP32 throughput. Simple implementations of the FP64 operations with FP32 will result in a speed of up to 4 times greater than that of the hardware, for correct implementations that also implement the FP64 exponent range and the behaviors for special FP values. By using the GPU "tensor" units, higher speedups should be achievable, like claimed in this paper. Nonetheless, the 83x speedup from the paper is most likely bogus and not reachable in most applications. The real speedup might be 2 or 3 times less than that. After a quick skimming through the paper, I could not find any mention about how they handle exponents and floating-point exceptions. If they do not implement the standard FP64 exponent range, underflows and overflows would be extremely frequent. Depending on how they handle exceptions, this would either produce incorrect results or slow down the computation dramatically.

MWil

B300 has worse INT8 performance than my RTX Pro 6000. CUDA 13.4 cuBLAS already has Ozaki-II at 29.9 TFLOPS benchmark (just ran it personally). However, that is clearly not optimized. Should be able to do twice that since INT8 GEMM benchmarking shows me 59.1 TFLOPS. So would it make more sense for me to target the paper's FP4/FP6/FP8 (maybe even the NVIDIA specific implementations) or would it make more sense for me to optimize the INT8 performance? I'm not sure the extra memory traffic wouldnt just offset non-INT8.

frumiousirc

GEMM = "general matrix multiply"

harrykris

FP64 girl I like, INT8 her ex, FP8 her dad, FP6 her brother, FP4 her CRUSH, IQ1_S me

Semantic search powered by Rivestack pgvector
4,908 stories · 45,036 chunks indexed