-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Core] [runtime env] Don't delete working_dir from runtime env #16475
Conversation
cc @iycheng I would be grateful if you could take a look and let me know if this makes sense. My understanding is that currently (before this PR), I also tried to delete https://github.com/ray-project/ray/blob/master/python/ray/_private/runtime_env.py#L165-L170, but it caused Ray Client to hang for some reason, which gave me some trouble. It seems that if I leave the block in it fixes the hanging, but I don't really understand why. |
I think But this won't merge with job config which means #16481 still won't work. |
This one is more like give the GCS some way to fetch the working dir. |
The PR to merge the actor/task runtime env with the job_config has been merged #16378 , does that address this? Regarding |
With the current PR, my understanding is that we're passing the field "working_dir" in the runtime env dict just so it can be read and displayed externally. But the actual mechanism of working_dir for tasks and actors is just to get the URIs from the job_config (https://github.com/ray-project/ray/pull/16475/files#diff-e125e536c0f84a61d00bb9d0c7613c0984892ef3e89ac565605d40f93d7a68e2R1282). |
|
I see, RAY_RUNTIME_ENV_FILES is used for the experimental package loading. Let me take a closer look |
Why are these changes needed?
Related issue number
Based off of #16378
Checks
scripts/format.sh
to lint the changes in this PR.