-
I am currently creating a hydra config programmatically as follows:
Now, the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Indeed, |
Beta Was this translation helpful? Give feedback.
-
I am currently creating a hydra config programmatically as follows:
Now, the |
Beta Was this translation helpful? Give feedback.
-
Indeed, |
Beta Was this translation helpful? Give feedback.
Indeed,
hydra.job.chdir
does not have any effect when used with thecompose
API; it is only relevant for thehydra.main
API.The motivation for this difference is that
compose
is supposed to be a pure function, whilehydra.main
is not a pure function and is has side-effects (such as performing achdir
operation).When using the
compose
API, my recommendation would be to manually change the working directory in your user code (e.g. by callingos.chdir
).