Working directory stopped being managed by @hydra.main() decorator #2580
-
Not sure what I did, but cwd() does not change to output/... main_config.yaml:
Any suggestion appreciated, thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@CytoShimon see the Note that the default value of |
Beta Was this translation helpful? Give feedback.
-
Jasha, I believe the tutorial page for working directory is outdated. |
Beta Was this translation helpful? Give feedback.
@CytoShimon see the
hydra.job.chdir
setting.https://hydra.cc/docs/1.3/configure_hydra/intro/#hydrajob
Note that the default value of
hydra.job.chidr
depends on theversion_base
setting; I think that by defaultchdir=True
forversion_base=1.2
andchdir=False
forversion_base=1.3
.