Commit 6ff6584
authored
Rework anemoi snippet (#1071)
# Rework anemoi snippet
- Fix snippet to allow for easy instantiation
See ecmwf/anemoi-inference#77
```python
from anemoi.inference.runners.default import DefaultRunner
from anemoi.inference.config import Configuration
# Create Configuration
config = Configuration(checkpoint = {"huggingface":{"repo_id":"ecwmf/aifs-single"}})
# Load Runner
runner = DefaultRunner(config)
```1 parent c0b2ca3 commit 6ff6584
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | | - | |
1123 | | - | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1124 | 1128 | | |
1125 | 1129 | | |
1126 | 1130 | | |
| |||
0 commit comments