Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hydra: add _self_ to defaults list to avoid warning #593

Conversation

Maltimore
Copy link
Collaborator

Hydra 1.1 changes the order in which values in the defaults list are overridden:

https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/default_composition_order/

None of the configs I found in schnetpack is affected by this but in order to make it clear to hydra that we're aware of this issue, we can add self at the beginning of the defaults list. This avoids a warning on every run.

@stefaanhessmann stefaanhessmann merged commit 06beb1c into atomistic-machine-learning:master Jan 16, 2024
@Maltimore Maltimore deleted the hydra_add_self_to_defaults branch January 16, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants