FP64 Emulation via FP8 Speeds Up Scientific Computing on Nvidia B300 by Up to 83x
New Nvidia GPUs are hardware-limiting FP64 precision, which scientific computing relies on, while tensor cores for FP8 and FP4 keep getting faster. The authors propose computing FP64 through many cheap low-precision multiplications and automatically selecting the scheme with the fewest operations. For FP8, the number of matrix multiplications dropped from 42 to 30, and on Nvidia B300 the emulation outperforms native FP64 by up to 83x. For HPC teams, this is a reason to revisit their choice of hardware and libraries.
AI-processed from TG: @gonzo_ML (gonzo-обзоры ML статей); edited by Hamidun News
Tensor cores in modern GPUs are growing to serve neural networks: FP8, FP4, INT8. Meanwhile, FP64 precision, which physicists, climate scientists and computational engineers rely on, is being pushed to the back burner and cut in hardware. The result is an odd situation: the most "correct" format is the slowest to compute. The paper "FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have" (Pratyai Mazumder, Alexandru Calotoiu, Torsten Hoefler) shows how to work around this problem in software, and the result is impressive: on Nvidia B300, double-precision emulation runs up to 83 times faster than native double precision.
The problem with FP64
Scientific computing, including weather modeling, molecular dynamics and solving large systems of equations, depends on double precision. Rounding errors accumulate in such tasks and can corrupt the result. But chipmakers are chasing the AI market, where FP8 and even FP4 are sufficient. As a result, FP64 speed has grown more slowly from generation to generation than the speed of low-precision units, and according to the authors, native FP64 on B300 is cut especially heavily in hardware.
Hence the idea: if low-precision matrix cores are so fast, let them compute FP64 too, just in a clever way.
How emulation works
The method relies on the Ozaki II scheme and the residue number system. A everyday analogy helps. Instead of multiplying huge numbers whole, you compute the result modulo several small coprime numbers. Each such residue is easy and exact to obtain, and the original answer is then reconstructed from the set of residues. It is the same idea as the Chinese Remainder Theorem. The "small" computations are played by fast matrix multiplications in FP8 or INT8.
The bottleneck is that many such multiplications are needed, and each one takes time. The authors formulated the choice of scheme parameters as an exact combinatorial optimization problem. The algorithm jointly selects the moduli, the method of splitting numbers into digits, and auxiliary polynomial identities for any target format and accumulator type. It searches for the scheme with the minimum number of low-precision operations that still guarantees an exact FP64 result. Importantly, the approach is universal: it can be applied to different formats, not just one.
Numbers and limitations
For the FP8 format, the number of matrix multiplications dropped from 42 to 30. On Nvidia B200 this yielded a 1.6–2.2x speedup over native FP64, and on B300 up to 83x. The huge gap on B300 is explained not by algorithmic magic but by the fact that native FP64 on this chip is heavily cut: a low baseline makes any workaround very profitable.
There are also honest caveats. First, the paper itself stresses a condition: emulation is practical if the correct operation of undocumented accumulators is confirmed. Manufacturers do not always disclose how exactly tensor cores accumulate sums internally, and the accuracy of the scheme depends on these details. Second, the gain is tied to hardware: the more native FP64 is cut, the more sense it makes to emulate it. On accelerators with strong native FP64 the picture will be different. Third, we only know the results claimed by the authors, and the source materials contain no independent measurements.
What it means for practitioners
For teams that write or run scientific and engineering workloads, the takeaway is simple: when choosing accelerators, do not rely on the datasheet FP64 teraflops; look at how the libraries handle emulation. Developers of linear algebra and HPC libraries should take a closer look at Ozaki-style schemes and automatic parameter selection. And those making purchasing decisions should remember that the trend toward cutting FP64 is unlikely to reverse, and software emulation may become a way to get accurate calculations on AI hardware without separate expensive "scientific" chips.
- Nov 30, 2026Amazon to Sell Trainium Chips to Data Centers: Andy Jassy Puts the Business at $50 Billion
- Nov 30, 2026YADRO benchmarked four Chinese GPUs against NVIDIA H100: the best delivers 34–76% of its speed
- Nov 30, 2026Bloomberg Finds 1.5-Ton Nvidia GB300 Rack in Shanghai That Cannot Be Exported to China
- Nov 30, 2026NVIDIA's SANA-Video 2.5 generates 15 seconds of video with sound in 9 seconds on GB200
Key Questions Answered
What are the key details on The problem with FP64?
Scientific computing, including weather modeling, molecular dynamics and solving large systems of equations, depends on double precision. Rounding errors accumulate in such tasks and can corrupt the result. But chipmakers are chasing the AI market, where FP8 and even FP4 are sufficient. As a result, FP64 speed has grown more slowly from generation to generation than the speed of low-precision units, and according to the authors, native FP64 on B300 is cut especially heavily in hardware.
How emulation works?
The method relies on the Ozaki II scheme and the residue number system. A everyday analogy helps. Instead of multiplying huge numbers whole, you compute the result modulo several small coprime numbers. Each such residue is easy and exact to obtain, and the original answer is then reconstructed from the set of residues. It is the same idea as the Chinese Remainder Theorem. The "small" computations are played by fast matrix multiplications in FP8 or INT8.
What are the key details on Numbers and limitations?
For the FP8 format, the number of matrix multiplications dropped from 42 to 30. On Nvidia B200 this yielded a 1.6–2.2x speedup over native FP64, and on B300 up to 83x. The huge gap on B300 is explained not by algorithmic magic but by the fact that native FP64 on this chip is heavily cut: a low baseline makes any workaround very profitable. There are also honest caveats. First, the paper itself stresses a condition: emulation is practical if the correct operation of undocumented accumulators is confirmed.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
