-
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
docs: warn about running multiple local Ray instances #45836
Conversation
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it not supposed? I think this is supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can do it as long as you provide unique ports for each Ray instance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.