hf_mirrors/aifs-ens-2.0
Model Introduction
Files & versions
Analysis
You are visiting the mirror address of https://huggingface.co/ecmwf/aifs-ens-2.0. The repo is synchronized in real-time and is only for mirror acceleration access.

AIFS ENS v2

License Framework Task Model

The AIFS is ECMWF's Artificial Intelligence Forecasting System. It consists of two data-driven medium-range forecast models:

  • AIFS Single v2 (described on the following page)
  • AIFS ENS v2 (described here)

AIFS ENS v2 was implemented on 12 May 2026 and supersedes version 1. It is run operationally by ECMWF, generating a 51-member 15-day (6-hourly) global forecast four times per day.

Table of contents

  • What's new in v2
  • Quickstart
  • Model overview
  • Data details
  • Training details
  • Evaluation
  • Known limitations
  • Technical specifications
  • Citation

What's new in v2

The release of AIFS v2 introduces:

  • A new wave component, including 11 wave variables, marking ECMWF's first operational data-driven wave forecasts.
  • The addition of a new snow variable to the existing land component.
  • The addition of tropical cyclone track forecasts.
  • The addition of two variables already present in AIFS Single (vsw and cp), to harmonise the two models.
  • Improved vertical velocities, by changing parameter W from a prognostic to a diagnostic field.
  • An improved representation of the stratosphere, with the addition of pressure level fields at 10hPa.

Architectural changes include:

  • Replacing the afCRPS loss function used in AIFS ENS v1 with a multi-scale loss.
  • Imposing the same variable bounding as is used by the AIFS Single model, improving physical consistency.
  • Revised graph features, utilising more edges in the decoder.
  • An improved training regime, using 1 year of additional training data compared to AIFS ENS v1.

For full details of the changes introduced with this upgrade, see the implementation page.


Quickstart

Access AIFS Single v2 model data

ECMWF generates operational forecasts from AIFS ENS v2 four times per day (at 00, 06, 12 & 18 UTC). Users can access the forecast data free-of-charge through various open data platforms.

Generate a forecast with AIFS Single v2

To generate a forecast using the AIFS ENS v2 model, follow the notebook example.

The notebook demonstrates:

  • installing packages and imports
  • retrieving initial conditions from ECMWF Open Data
  • loading the pretrained checkpoint
  • running inference with anemoi-inference
  • visualising the forecast

anemoi-inference also provides a command line interface:

anemoi-inference run inference.yaml

or, if using uv from this repository:

uv run --extra inference anemoi-inference run inference.yaml

Model overview

Model description

AIFS ENS v2 is based on a graph neural network (GNN) encoder and decoder, and a sliding window transformer processor.

Encoder graph Decoder graph

The model has a flexible and modular design and supports several levels of parallelism to enable training on high resolution input data. AIFS forecast skill is assessed by comparing its forecasts to numerical weather prediciton (NWP) analyses and direct observational data.

  • Developed by: ECMWF
  • Model type: Encoder-processor-decoder model
  • License: Inference model weights are published under a Creative Commons Attribution 4.0 International (CC BY 4.0). To view a copy of this licence, visit https://creativecommons.org/licenses/by/4.0/. The demonstration notebook and other script files are published under an Apache 2.0 licence. To view a copy of this license, visit https://www.apache.org/licenses/LICENSE-2.0.txt.

Model resolution

AIFS ENS v2 introduces a new pressure level to the stratospheric component.

ModelVertical resolution [pressure levels] (hPa)
AIFS ENS v210 (new), 50, 100, 150, 200, 250, 300, 400, 500, 600, 700, 850, 925, 1000

There are no changes in horiztonal resolution compared to previous version AIFS ENS v2.

ComponentHorizontal Resolution [kms]Vertical Resolution [levels]
Atmosphere~ 3114

Model sources

  • Repository: Anemoi is an open-source framework for creating data-driven weather forecasting systems. Anemoi is co-developed by ECMWF and national meteorological services across Europe.
  • Papers:
    • AIFS-CRPS: Ensemble forecasting using a model trained with a loss function based on the Continuous Ranked Probability Score (2024)
    • A multi-scale loss formulation for learning a probabilistic model with proper score optimisation (2025)

Data details

Training data

The data used for pre-training AIFS ENS v2 remains the same as for the previous model version (v1):

  • Pre-training was performed on ERA5 data covering the years 1979–2022 over 300,000 training steps.

The data used for fine-tuning AIFS Single v2 has been updated:

  • Fine-tuning was performed on 1 year of additional data compared to AIFS ENS v1.
  • In particular, fine-tuning was performed on ECMWF operational analysis data and IFS 50r1 esuite analysis data, covering the years 2018-2024 over 7,900 training steps.
AIFS ENS v2 fine-tuning

Note: The IFS 50r1 esuite analysis data used for fine-tuning is not available to users. It consists of prototype data from early versions of IFS Cycle 50r1.

As in previous versions of AIFS ENS, IFS fields are interpolated from their native O1280 resolution (approximately 0.1°) using MARS default interpolation tools down to N320 (approximately 0.25°) for fine-tuning and initialisation of the model during inference.

Data parameters

New parameters

AIFS Single v2 introduces 14 new parameters, which were used for model training and are output by the model during a forecast.

Short NameNameUnits
h1012Significant wave height of all waves with periods within the inclusive range from 10 to 12 secondsmmm
h1214Significant wave height of all waves with periods within the inclusive range from 12 to 14 secondsmmm
h1417Significant wave height of all waves with periods within the inclusive range from 14 to 17 secondsmmm
h1721Significant wave height of all waves with periods within the inclusive range from 17 to 21 secondsmmm
h2125Significant wave height of all waves with periods within the inclusive range from 21 to 25 secondsmmm
h2530Significant wave height of all waves with periods within the inclusive range from 25 to 30 secondsmmm
wmbModel bathymetrymmm
swhSignificant wave heightmmm
mwdMean wave directionDegree trueDegree\ trueDegree true
mwpMean wave periodsss
cdwwCoefficient of drag with wavesdimensionlessdimensionlessdimensionless
fscovFraction of snow coverProportionProportionProportion
cpConvective precipitationkgm−2kg m-2kgm−2
vswVolumetric soil moisturem3m−3m3 m-3m3m−3

Additionaly, AIFS ENS v2.0 now produces tropical cyclone track forecasts in BUFR format. See https://confluence.ecmwf.int/display/FCST/Implementation+of+AIFS+ENS+v2#ImplementationofAIFSENSv2-Newparameters for more details.


Training Details

Training Data

AIFS ENS v2 is trained on ECMWF’s ERA5 re-analysis and ECMWF’s operational numerical weather prediction (NWP) analyses as described in the training data section.

AIFS ENS v2 is trained to produce 6-hour forecasts. It receives as input a representation of the atmospheric states at $t_{−6h}$, $t_{0}$, and then forecasts the state at time $t_{+6h}$.

AIFS 2m Temperature

The table below shows all parameters used and output by AIFS ENS v2. New parameters and levels are marked bold.

FieldLevel typeInput/Output
Geopotential (Z), horizontal and vertical wind components (U, V), temperature (T)Pressure levels: 10, 50, 100, 150, 200, 250, 300, 400, 500, 600, 700, 850, 925, 1000Both ("Prognostic")
Specific humidity (Q)Pressure levels: 100, 150, 200, 250, 300, 400, 500, 600, 700, 850, 925, 1000Both ("Prognostic")
Vertical velocity (W)Pressure levels: 10, 50, 100, 150, 200, 250, 300, 400, 500, 600, 700, 850, 925, 1000Output ("Diagnostic")
Specific humidity (Q)Pressure level: 50Output ("Diagnostic")
Surface pressure (SP), mean sea-level pressure (MSL), sea-surface temperature (SST), skin temperature (SKT), 2m temperature (2T), 2m dewpoint temperature (2D), 10m horizontal wind components (10U, 10V), total column water (TCW), mean wave period (MWP), mean wave direction (MWD), coefficient of drag with waves (CDWW), significant wave height (SWH), significant wave height of all waves with periods within the inclusive range from:

- 10 to 12 seconds (H1012)
- 12 to 14 seconds (H1214)
- 14 to 17 seconds (H1417)
- 17 to 21 seconds (H1721)
- 21 to 25 seconds (H2125)
- 25 to 30 seconds (H2530)
SurfaceBoth ("Prognostic")
Volumetric soil moisture (VSW) and soil temperature (SOT), both at soil depth 1 and 2Soil layerBoth ("Prognostic")
100m horizontal wind components (100U, 100V), surface short-wave (solar) radiation downwards (SSRD), surface long-wave (thermal) radiation downwards (STRD), cloud variables (TCC, HCC, MCC, LCC), runoff water equivalent (ROWE) and snow fall (SF), total precipitation (TP), convective precipitation (CP), fraction of snow cover (FSCOV)SurfaceOutput ("Diagnostic")
Standard deviation of sub-gridscale orography (SDOR), slope of sub-gridscale orography (SLOR), land-sea mask (LSM), Geopotential (Z), insolation, latitude/longitude, time of day/day of yearSurfaceInput ("Forcings")

Training Procedure

Key changes to the AIFS ENS v2 training regime include:

  • the introduction of a multi-scale loss
  • the removal of reference field truncation, imposing the same variable bounds used by the AIFS Single model to improve physical consistency
  • the revision of graph features, by using more edges in the decoder together with new edge features.

Full details about the model architecture are detailed in the arXiv preprints here and here.

Speeds, Sizes, Times

Data parallelism is used for training, with a batch size of 1. One model instance is split across two 120GB GH200 GPUs, with an ensemble instance split across 4 gpus. Training is done using mixed precision (Micikevicius et al. [2018]), and the entire process takes about one week, with 32 GPUs in total. The checkpoint size is 2.55GB and as mentioned above, it does not include the optimizer state.


Evaluation

Interactive scorecards presenting the performance of AIFS ENS v2 between January-March 2026 are now available. The scorecards compare performance when initialised from 49r1 and 50r1 IFS initial conditions: 

  • AIFS ENS v2 (initialised from 50r1) compared with AIFS ENS v1 (initialised from 49r1)
  • AIFS ENS v2 compared with AIFS ENS v1 (both initialised from 50r1)

Known limitations

Please refer to https://confluence.ecmwf.int/display/FCST/Known+AIFS+Forecasting+Issues.


Technical specifications

Hardware

AIFS ENS v2 was trained on 32 GH200 GPUs (120GB).

Software

The model was developed and trained using the Anemoi framework. The Anemoi framework provides a complete toolkit to develop data-driven weather models – from data preparation through to inference. The development is primarily driven by a number of European Meterological Organisations but open to contributions from any organisation or any individual. The framework is composed of several packages which target the different components necessary to construct data-driven weather models. To aid development and deployment, each package collects metadata that can be used by the subsequent packages. The framework builds upon on established Python tools including PyTorch, Lighting, Hydra, Zarr, Xarray and earthkit.


Citation

If you use this model in your work, please cite it as follows:

BibTeX:

@misc{lang2025multiscale,
      title={A multi-scale loss formulation for learning a probabilistic model with proper score optimisation},
      author={Simon Lang and Martin Leutbecher and Pedro Maciel},
      year={2025},
      eprint={2506.10868},
      archivePrefix={arXiv},
      primaryClass={physics.ao-ph},
      url={https://arxiv.org/abs/2506.10868},
}

@misc{lang2024aifscrps,
      title={AIFS-CRPS: Ensemble forecasting using a model trained with a loss function based on the Continuous Ranked Probability Score}, 
      author={Simon Lang and Mihai Alexe and Mariana C. A. Clare and Christopher Roberts and Rilwan Adewoyin and Zied Ben Bouallègue and Matthew Chantry and Jesper Dramsch and Peter D. Dueben and Sara Hahner and Pedro Maciel and Ana Prieto-Nemesio and Cathal O'Brien and Florian Pinault and Jan Polster and Baudouin Raoult and Steffen Tietsche and Martin Leutbecher},
      year={2024},
      eprint={2412.15832},
      archivePrefix={arXiv},
      primaryClass={physics.ao-ph},
      url={https://arxiv.org/abs/2412.15832}, 
}

APA:

Lang, S., Leutbecher, M., & Maciel, P. (2025). A multi-scale loss formulation for learning a probabilistic model with proper score optimisation. arXiv preprint arXiv:2506.10868.
Lang, S., Alexe, M., Clare, M. C., Roberts, C., Adewoyin, R., Bouallègue, Z. B., ... & Leutbecher, M. (2024). AIFS-CRPS: Ensemble forecasting using a model trained with a loss function based on the Continuous Ranked Probability Score. arXiv preprint arXiv:2412.15832.

More Information

All papers:

  • AIFS-CRPS: Ensemble forecasting using a model trained with a loss function based on the Continuous Ranked Probability Score (2024)
  • A multi-scale loss formulation for learning a probabilistic model with proper score optimisation (2025)