You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation states how to extend configs. I have a hard time understanding how to design a pattern so that one can change/override the defaults via CLI, though:
Now I want to switch between fp16 and fp32. How do I override this from cli?
I am sure, I missed important parts of hydra, so I would be happy if someone would point me to the right spot. My guess is that this is related to #171 but please correct me!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The documentation states how to extend configs. I have a hard time understanding how to design a pattern so that one can change/override the defaults via CLI, though:
Existing example
Problem
Now if I would now add two new files called
# db/base_sqlite.yaml ...
how can I change the default extension from the commandline to switch between
sqlite
andmysql
without settingdb=sqlite
?Motivation/Use case
extending experiments with multiple levels: i have four files:
experiments/model1/commons.yaml
experiments/model1/fp16.yaml
experiments/model1/fp32.yaml
experiments/run1.yaml
Now I want to switch between fp16 and fp32. How do I override this from cli?
I am sure, I missed important parts of hydra, so I would be happy if someone would point me to the right spot. My guess is that this is related to #171 but please correct me!
Beta Was this translation helpful? Give feedback.
All reactions