Skip to content

Commit

Permalink
fix: mark non-recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperDramsch committed Sep 16, 2024
1 parent 7276adb commit 86a9163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/anemoi/models/interface/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def _build_model(self) -> None:
model_config=self.config,
data_indices=self.data_indices,
graph_data=self.graph_data,
_recursive_=False, # Disables recursive instantiation by Hydra
)

# Use the forward method of the model directly
Expand Down

0 comments on commit 86a9163

Please sign in to comment.