-
Notifications
You must be signed in to change notification settings - Fork 44
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
env parameter in DDPJobDefinition doesn't pass env variables to Ray #408
Comments
That env is passed directly to the |
My use case is this: Using DDPJobDefinition mentioned above I wasn't able to achieve this use case as env variables weren't picked by pip. Pip used default index location. How can I submit a job while providing env variables |
This might be a bug in torchx. The easiest workaround would be to set the values at the top of the
|
Describe the Bug
I want to submit Ray job with environment variables specified, however provided environment variables aren't passed into the Ray.
SDK doc specifies that
DDPJobDefinition
contains propertyenv
. I tried to pass there environment variables:However submitted job didn't contain passed environment variables.
Is this a correct way of passing environment variables using SDK?
Codeflare Stack Component Versions
Please specify the component versions in which you have encountered this bug.
Codeflare SDK: 0.12.1
Ray image: quay.io/project-codeflare/ray:latest-py39-cu118
Steps to Reproduce the Bug
curl -X GET -i 'http://<dashboard_hostname>/api/jobs/'
What Have You Already Tried to Debug the Issue?
N/A
Expected Behavior
Submitted job contains environment variables, for example:
Screenshots, Console Output, Logs, etc.
Affected Releases
SDK 0.12.1
Additional Context
Add as applicable and when known:
Add any other information you think might be useful here.
The text was updated successfully, but these errors were encountered: