Skip to content

Commit

Permalink
Add runner
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed May 25, 2024
1 parent 4ab2d62 commit b791c8b
Show file tree
Hide file tree
Showing 2 changed files with 392 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/inference/checkpoint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __getattr__(self, name):
@cached_property
def operational_config(self):
try:
result = self._checkpoint_metadata("operational-config.json")
result = load_metadata(self.path, "operational-config.json")
LOG.info(f"Using operational configuration from checkpoint {self.path}")
return result
except ValueError:
Expand Down
Loading

0 comments on commit b791c8b

Please sign in to comment.