mit-ll-responsible-ai / hydra-zen

Create powerful Hydra applications without the yaml files and boilerplate code.
https://mit-ll-responsible-ai.github.io/hydra-zen/
MIT License
338 stars 15 forks source link

How to do config composition? #660

Closed thomassajot closed 7 months ago

thomassajot commented 7 months ago

I have been stuck on trying to update a predefined config object with another one which defines a subset of the arguments. Could someone share an example of how to compose/merge two configs ?

rsokl commented 7 months ago

https://github.com/mit-ll-responsible-ai/hydra-zen/discussions/472#discussioncomment-5825824

thomassajot commented 7 months ago

@rsokl, sorry I did not mention it in my question. How to do the merge in the cli?

rsokl commented 7 months ago

Check the Hydra documentation for CLI grammar/capabilities.