anaprietonem
commited on
Commit
•
48bd38d
1
Parent(s):
042baa6
Update README.md
Browse files
README.md
CHANGED
@@ -57,22 +57,24 @@ and direct observational data.
|
|
57 |
To generate a new forecast using AIFS, you can use [anemoi-inference](https://github.com/ecmwf/anemoi-inference). In the [following notebook](run_AIFS_v0_2_1.ipynb), a
|
58 |
step-by-step workflow is specified to run the AIFS using the HuggingFace model:
|
59 |
|
60 |
-
- Install
|
61 |
-
-
|
62 |
-
-
|
63 |
-
- Get
|
64 |
-
-
|
65 |
-
-
|
66 |
-
-
|
67 |
-
- Create
|
68 |
-
|
69 |
-
-
|
|
|
|
|
|
|
|
|
70 |
|
71 |
|
72 |
🚨 **Note** we train AIFS using `flash_attention` (https://github.com/Dao-AILab/flash-attention).
|
73 |
-
|
74 |
-
For that reason, we recommend you install PyTorch 2.4.
|
75 |
-
Additonally the use of 'Flash Attention' package also imposes certain requirements in terms of software and hardware. Those can be found under #Installation and Features in https://github.com/Dao-AILab/flash-attention
|
76 |
|
77 |
🚨 **Note** the `aifs_single_v0.2.1.ckpt` checkpoint just contains the model’s weights.
|
78 |
That file does not contain any information about the optimizer states, lr-scheduler states, etc.
|
|
|
57 |
To generate a new forecast using AIFS, you can use [anemoi-inference](https://github.com/ecmwf/anemoi-inference). In the [following notebook](run_AIFS_v0_2_1.ipynb), a
|
58 |
step-by-step workflow is specified to run the AIFS using the HuggingFace model:
|
59 |
|
60 |
+
- 1. Install Required Packages and Imports
|
61 |
+
- 2. Retrieve Initial Conditions from ECMWF Open Data
|
62 |
+
- Select a date
|
63 |
+
- Get the data from the [ECMWF Open Data API](https://www.ecmwf.int/en/forecasts/datasets/open-data)
|
64 |
+
- Get input fields
|
65 |
+
- Add the single levels fields and pressure levels fields
|
66 |
+
- Convert geopotential height into greopotential
|
67 |
+
- Create the initial state
|
68 |
+
3. Load the Model and Run the Forecast
|
69 |
+
- Download the Model's Checkpoint from Hugging Face
|
70 |
+
- Create a runner
|
71 |
+
- Run the forecast using anemoi-inference
|
72 |
+
4. Inspect the generated forecast
|
73 |
+
- Plot a field
|
74 |
|
75 |
|
76 |
🚨 **Note** we train AIFS using `flash_attention` (https://github.com/Dao-AILab/flash-attention).
|
77 |
+
The use of 'Flash Attention' package also imposes certain requirements in terms of software and hardware. Those can be found under #Installation and Features in https://github.com/Dao-AILab/flash-attention
|
|
|
|
|
78 |
|
79 |
🚨 **Note** the `aifs_single_v0.2.1.ckpt` checkpoint just contains the model’s weights.
|
80 |
That file does not contain any information about the optimizer states, lr-scheduler states, etc.
|