WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

Hrmm.. I think being able to swap out the full hydra config from the CLI is tricky here. Afaict Hydra looks specifically for the store entry: group=hydra, name=config, which is how the simple customize hydra config how-to works.

I have been finding a lot of success for my own use cases with scaffolding above the Hydra CLI. Specifically I overwrite zen.hydra_main and transform the sys.argv list before it gets sent to the underlying hydra_main call. I also do things like "if you specify a launcher, I will automatically add --multirun for you", and it is just so much easier to work with this logic than wrestle with complexities like the above. For this reason, I also don't have much insight …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@addisonklinke
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