Half-precision inference of AI weather prediction models: code
Description
Code and paper source for Half-precision inference of AI weather prediction models: negligible loss of skill at a fraction of the cost (Siegert, 2026), a snapshot of https://github.com/sieste/ai-nwp-fp16 (release v1.0.1).
The Python package nwpprec runs five publicly available AI weather models (Aurora, deterministic and ensemble checkpoints; Pangu-Weather; FourCastNet; SFNO; FastNet) in fp32, and with their networks in fp16, bf16 and simulated 8-bit formats while the physical state stays in fp32, verifies them against ERA5, and produces the paper's experiments, figures and tables. It also runs single forecasts in fp16 from any ERA5 initial time and writes them to NetCDF. The repository holds the exact software environments, a reproduction check against the stored results, unit tests, and the paper's LaTeX source and figures.
Licences: code MIT (copyright University of Exeter), except the FastNet adapter (nwpprec/models/fastnet/), AGPL-3.0; paper text and figures CC BY 4.0. Model weights and third-party code are not included; see NOTICE for their terms.
Results archive: https://doi.org/10.5281/zenodo.23887144
Files
ai-nwp-fp16-1.0.1.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/sieste/ai-nwp-fp16/tree/v1.0.1 (URL)
- Is supplemented by
- Dataset: 10.5281/zenodo.23887144 (DOI)