deniz.in

Markets

Weather

Loading weather

· via Hacker News – Front Page (hnrss.org)

arXiv paper optimizes FP64 emulation with INT8/FP8/FP4 GEMMs, up to 83x on Blackwell B300

A preprint unifies INT8, FP8 and FP4 schemes that emulate FP64 matrix products and searches for the fewest low-precision GEMMs, reporting Blackwell implementations up to 83x faster than native FP64.

arXiv paper optimizes FP64 emulation with INT8/FP8/FP4 GEMMs, up to 83x on Blackwell B300

The result

A preprint posted to arXiv on 29 September 2026 and later surfaced on Hacker News's front page takes aim at a familiar mismatch in numerical computing: many scientific workloads need FP64 matrix products, while modern GPUs pour their silicon into low-precision tensor math. The paper, listed under arXiv's Distributed, Parallel, and Cluster Computing category and submitted by Pratyai Mazumder, presents a systematic framework for emulating FP64 matrix multiplication with INT8, FP8, FP6 or FP4 arithmetic. According to the paper, implementations of the resulting schemes on three Blackwell GPUs all run faster than native FP64, up to 83x faster on the B300.

How the emulation works

The foundation is what the paper calls Ozaki scheme II, which emulates FP64 matrix products with INT8 ones by working with residues taken modulo several small, pairwise coprime numbers. Modular arithmetic lets you split one exact computation into several small ones: compute a product modulo each of a set of coprime moduli, then reconstruct the true result from the residues. Because each residue computation is small, it can be mapped onto the fast, narrow-precision matrix multiplications that tensor cores are built for. Follow-up work extended the idea to FP8 and FP4, and the paper's first move is to fold all of these variants into a single family rather than treating each format as its own special case.

Choosing a scheme becomes a search

The central contribution is a reframing. Instead of hand-designing a scheme for each format, the paper treats scheme selection as a combinatorial optimization problem: for every modulus there is a finite set of ways to compute products modulo it using low-precision GEMMs, and the task is to choose the moduli and the methods so the total number of GEMMs is minimized, for any format, accumulator size and inner dimension. The paper also derives lower bounds on GEMM count across the whole family, which is what turns "we found something fast" into "this is provably hard to beat."

Applied to the formats of current GPUs, the search produces, per the paper, the first schemes for FP6, an FP8 scheme requiring fewer GEMMs than any previously published one, and an FP4 scheme that the lower bounds show has the fewest GEMMs of any scheme in the family whose moduli fall within a stated range.

The benchmarks and the caveats

The reported implementations run on three Blackwell GPUs, with the INT8, FP8 and FP4 schemes each beating native FP64 and the B300 reaching the 83x headline figure. Two caveats are worth holding onto. First, these are author-reported measurements in a preprint that has not been peer reviewed. Second, the arXiv listing itself describes the current 12 pages as a preliminary version, with an extended version containing the proofs, the search details and further measurements still to come. The surfaced abstract is silent on numerical accuracy and on which problem sizes drive the headline speedup, both of which matter for judging how broadly the results generalize.

Why it matters

Double-precision throughput is the scarce commodity on AI-era hardware. GPUs and accelerators optimized for machine learning dedicate the bulk of their tensor hardware to low-precision modes, so FP64 performance per dollar and per watt lags far behind. Workloads in simulation, solvers and parts of training research still want FP64, and renting or buying FP64-capable hardware for them is expensive.

A principled method for buying FP64 results with abundant low-precision GEMMs changes that economics: cheaper AI-oriented GPUs become plausible platforms for double-precision linear algebra. The lower bounds are arguably the more durable contribution, since they tell implementers whether a given GEMM count is a floor or merely a starting point, something most emulation papers cannot say. If the extended version substantiates the measurements, cheap high-precision compute stops being a hardware question and becomes a software one.

  • #gpu
  • #hpc
  • #numerical-computing
  • #linear-algebra
  • #blackwell