Technical Research

What It Takes to Run a Spectral Wave Model on One GPU

A full 8-day Atlantic wave forecast, every day, on a single graphics card rather than a supercomputer.

THE SHORT ANSWER Operational wave forecasts are traditionally run on national supercomputers. Ours runs on one cloud GPU: three nested grids (the Atlantic from 15°S to 65°N at about 28 km, the Antilles at 5 km, Cabarete at about 1 km), a 24-hour hindcast plus a 7-day forecast, in about 8–9 minutes as measured in November 2026, and an expected 12–13 minutes since the 21 November engine upgrade. This page describes what that takes. One thing to be clear about up front: the model’s code is not public. The published paper describes the method as of spring 2026, and this site publishes the forecast and its scores for free.
1 GPUDaily forecast (cloud A100)
8–13 minThree grids, 8 days
6.9 GBPeak GPU memory (of 40)
~25¢Cloud cost, one 8-day Atlantic-only test run

Why this is unusual

Ocean wave forecasts have historically been produced on large compute clusters. Even when the model code is published (NOAA’s WAVEWATCH III is), running it operationally at basin scale has meant a large computer and a team. Our model was designed the other way from the start: PyTorch on a single GPU. Every spectral operation — moving waves across the grid, bending them over depth changes, wind input, dissipation, and the four-wave energy exchange — is a batched operation on the whole grid at once, and the most expensive part (the Mermaid-GSK wave–wave transfer) runs as a custom GPU kernel.

What it takes

Hardware

UseHardwareWhat we measured
Daily forecastOne NVIDIA A100 (40 GB) on a cloud GPU service (Modal)8.2–8.7 min for all three grids in November 2026 (release v136), peak GPU memory 6.9 GB; v137 is expected to take about 45% longer
Physics testsThe same A100sA 0.25° Atlantic-only 8-day run takes about 0.5–0.9 minutes per simulated day; 12 such runs cost $2.79 in November 2026
DevelopmentA desktop NVIDIA GPU and an Apple-silicon laptopFine for short runs and diagnostics; long or full-resolution runs go to the cloud

Memory is rarely the limit: the whole nested run fits in a fraction of a data-centre GPU. Speed is set mostly by the number of ocean cells, the time step, and the wave–wave transfer.

Data

Software

The daily loop

  1. Download the latest wind forecast and wave fields, and check they cover the whole domain. A run with missing input stops rather than filling gaps.
  2. Start from the previous run’s sea state where possible, otherwise build the wave spectrum (energy by period and direction) in each grid cell from the downloaded wave fields.
  3. Step the waves forward in time on the three nested grids (solving the wave-energy balance known as the action balance equation): first a 24-hour hindcast, a re-run of the past day that brings the sea state up to the present, then the 7-day forecast.
  4. Score and publish: compare with buoys, satellites, WAM and WAVEWATCH III, and publish the forecast, the maps and the scores to this site.

What is public, and what is not

Why it matters

About the name

KEWL stands for Kinetic Energy Wave Limiter, our package of “source terms”, the formulas for how wind adds energy to waves and how breaking and friction remove it. Mermaid is the family name of our wave–wave transfer; the current version is Mermaid-GSK. AtlanticWave is the model’s working name, and “KEWL Mermaid” is the forecast service built on it.

Tools and references