Skip to content

Combine StructuredConfigs and YAML files via composition #757

Discussion options

You must be logged in to vote

Found the solution for my initial problem: refactor config/model.yaml to config/model/default.yaml. Then the {"model": "default"} entry of Hydra's defaults list will pick this up. The previous structure would correspond to a top-level @hydra.main(config_name="model", ...) which was not my intent

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jgbos
Comment options

Answer selected by addisonklinke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants