Can Hydra support referencing and merging values with overrides within a single config file? #2997
Unanswered
taillandierv
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello Hydra Team,
I am working with Hydra and would like to ask if it's possible to reference a key within the same config file and then override or extend its values. Specifically, I'm trying to reference one section of a configuration and then extend or modify it in the same file.
Desired Behavior
Consider the following use case where I want to:
Here is my example configuration in a single config file:
I have tried using yaml vanilla features like:
But it wont deep merge dictionaries as Hydra does for nested configurations.
In this example I will loose
subsubkey1The current solution I have is something like:
Which become difficult when nested dictionaries are deep.
Is there any solution for that ?
Thank you a lot!
Valentin
All reactions