ECMWF AIFS Ensemble Forecasting with GPU Cloud Computing

Aug 25, 2025 · 2 min read

ECMWF AIFS: AI-Powered Weather Forecasting

ECMWF’s Artificial Intelligence Forecasting System (AIFS) represents a paradigm shift in numerical weather prediction. Built on transformer architectures and trained on ERA5 reanalysis data, AIFS generates ensemble forecasts at a fraction of the computational cost of traditional physics-based models. The AIFS ENS v1.0 model produces 50-member ensemble forecasts extending to 33 days (792 hours).

GPU Cloud Computing Workflow

Running AI weather models requires significant GPU resources. The ea-aifs repository implements a cost-efficient workflow using Coiled for on-demand GPU provisioning:

Seven-Step Pipeline

StepEnvironmentPurpose
1CPUDownload ECMWF open data, preprocess to pickle format
2GPUTransfer input states from cloud storage
3GPUExecute AIFS model for 50 ensemble members
4GPUUpload GRIB outputs, shutdown expensive GPU
5CPURegrid from N320 to 1.5° resolution
6CPUEnsemble quintile analysis
7CPUForecast submission

Cost Optimization Strategy

The workflow minimizes GPU costs by:

  • Preprocessing data on cheap CPU instances before GPU execution
  • Using cloud storage (GCS) as intermediate buffer between environments
  • Multi-threaded uploads to reduce GPU idle time
  • Immediately shutting down GPU after model execution

Infrastructure

# CPU environment for data preparation
coiled notebook start --vm-type n2-standard-2 --software aifs-etl-v2

# GPU environment for AI model execution
coiled notebook start --vm-type a2-ultragpu-1g --software flashattn-dockerv1

Application for East Africa

This workflow enables ICPAC to generate AI-based ensemble forecasts for the East Africa region, complementing traditional dynamical models with GenAI approaches for improved early warning systems.

Resources