-
-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting environment variable automatically for jobs #7
Comments
Will this also allow overriding config from environment variable? similar to overriding from the command line |
This is already possible (although not similar to overriding from the command line). |
I think it will be a good idea to make overriding config from the environment variable consistent with overriding using the command line approach. |
How can you make two things that are completely different consistent with each other? regardless, please open a new issue against OmegaConf if you have a feature request. this is not the right place to discuss any such requests. |
OMG, this would be a super important feature. It's hard to believe it doesn't exist already... |
Hi, I'm sorry. it's an important enhancement. if we looked at containers, the main workflow would be using environment variables. |
If this is so important to people, they can step up and help. |
Oh, miss that.
Thank you |
It was not clear from the issue description, I updated it. |
See this for details. |
page doesn't exist. Can we set ENV variables in hydra? |
@rr-hari-prakash I've edited the link; it works now. Use the |
This is low priority at the moment, please vote up if you will find it useful.
Control of env variables for launched jobs.
This could be based on a special node in the job config:
TO BE CLEAR:
You can already use environment variables in configs:
See the OmegaConf documentation.
This issue is about allowing easier control of the environment variable of Hydra apps for other purposes (for example, setting OMP_NUM_THREADS automatically to 1).
The text was updated successfully, but these errors were encountered: