-
-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked internal configuration loading to make Hydra more consistent and flexible. It is now possible to override all of the Hydra configuration option from: * .hydra/hydra.yaml in the config path. * directly from the job config * from the command line Merging is done in this order: - default Hydra configuration - .hydra/hydra.yaml in the config path - job configuration hydra branch - command line overrides starting with hydra. #### Incompatible changes If you were using anything on the left below you need to change your code / config / command line. - ${job:name} -> hydra.job.name - ${job:override_dirname} -> hydra.job.override_dirname - ${job:num} -> hydra.job.num - ${job:id} -> hydra.job.id - ${hydra:num_jobs) -> hydra.job.num_jobs - Logging configuration node for job changed from `hydra.task_logging` to `hydra.job_logging`
- Loading branch information
Showing
46 changed files
with
769 additions
and
639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,4 +62,4 @@ workflows: | |
- deploy-website: | ||
filters: | ||
branches: | ||
only: master | ||
only: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...tion/task_name/no_config_file_override.py → ...ation/job_name/no_config_file_override.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...on/task_name/with_config_file_override.py → ...ion/job_name/with_config_file_override.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
defaults: | ||
- task_logging | ||
- job_logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
demos/99_hydra_configuration/sweep_fairtask/.hydra/hydra.yaml
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
demos/99_hydra_configuration/sweep_fairtask/.hydra/launcher/fairtask.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
demos/99_hydra_configuration/sweep_submitit/.hydra/hydra.yaml
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
demos/99_hydra_configuration/sweep_submitit/.hydra/launcher/submitit.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.