docs: warn about running multiple local Ray instances#45836
docs: warn about running multiple local Ray instances#45836anyscalesam merged 2 commits intoray-project:masterfrom
Conversation
See https://discuss.ray.io/t/error-in-ray-job-submit-on-local-machine-if-multiple-clusters-are-running-at-the-same-time/14723/7?u=davidxia Signed-off-by: David Xia <david@davidxia.com>
|
cc @anyscalesam |
|
@kevin85421 @jjyao is this OK to merge? |
| Running multiple local Ray instances is not supported and may have | ||
| undefined behavior. |
There was a problem hiding this comment.
Why is it not supposed? I think this is supported.
There was a problem hiding this comment.
Should this be "Running multiple local Ray instances is not recommended and may have undefined behavior." instead?
Even though it's possible to run multiple Ray instances on a single machine, is it not recommended? Both @anyscalesam here and @stephanie-wang in this other discussion thread have said it's not recommended. If it's not, I think it's helpful to state this?
There was a problem hiding this comment.
You can do it as long as you provide unique ports for each Ray instance.
There was a problem hiding this comment.
- Do you have an example Python snippet showing how to do this with
ray.init()? - I understand it's possible, but I'm asking if it's not recommended?
There was a problem hiding this comment.
@jjyao just bumping again on the above questions
…oject#45836)" This reverts commit 8f70e02.
See https://discuss.ray.io/t/error-in-ray-job-submit-on-local-machine-if-multiple-clusters-are-running-at-the-same-time/14723/7?u=davidxia
Why are these changes needed?
Will prevent user confusion
Related issue number
Checks
git commit -s) in this PR.scripts/format.shto lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/under thecorresponding
.rstfile.