You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I'm very new to anemoi framework so this can be not an issue or a known one.
I'm trying to run inference using AIFS checkpoint from HugginFace. I've cloned the repository, installed requested packages and run the inference example. The model does not fit in my GPU, so I asked the inference to be done in the CPU modifying the code as follows:
for state in runner.run(input_state=input_state, lead_time=24):
print_state(state)
Gives an error related to node_attributes as follows:
AttributeError: 'AnemoiModelEncProcDec' object has no attribute 'node_attributes'
longitude and latitude are not present in the example's input_stat as in documentation's example, so I decided to calculate N320 gaussian grid longitud and latitude using forcings that are added to fields dictionary (cos/sin_longitude and cos/sin_latitude) after running the first try, but no luck (runner also has runner.checkpoint.longitudes/latitudes).
What happened?
First of all, I'm very new to anemoi framework so this can be not an issue or a known one.
I'm trying to run inference using AIFS checkpoint from HugginFace. I've cloned the repository, installed requested packages and run the inference example. The model does not fit in my GPU, so I asked the inference to be done in the CPU modifying the code as follows:
runner = SimpleRunner('aifs_single_v0.2.1.ckpt', device='cpu')
After that, running the inference:
for state in runner.run(input_state=input_state, lead_time=24):
print_state(state)
Gives an error related to node_attributes as follows:
AttributeError: 'AnemoiModelEncProcDec' object has no attribute 'node_attributes'
longitude and latitude are not present in the example's input_stat as in documentation's example, so I decided to calculate N320 gaussian grid longitud and latitude using forcings that are added to fields dictionary (cos/sin_longitude and cos/sin_latitude) after running the first try, but no luck (runner also has runner.checkpoint.longitudes/latitudes).
Am i missing the point?
What are the steps to reproduce the bug?
Simply changing this line:
runner = SimpleRunner('aifs_single_v0.2.1.ckpt', device='gpu')
to
runner = SimpleRunner('aifs_single_v0.2.1.ckpt', device='cpu')
Version
0.4.5
Platform (OS and architecture)
Debian 11
Relevant log output
Accompanying data
No response
Organisation
MeteoGalicia
The text was updated successfully, but these errors were encountered: