Generalize distributed testing docs #22
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Rationales
Remove
redis
args: It used to be that the Ray head used redis to store state and Ray workers connected to the head by referencing the address of the head's Redis server (default port 6379). Ray stopped using redis in 1.11.0 -- to make that transition less disruptive, they made it so that workers still connect to the head by referencing port :6379. sourceEnsure can run single node cluster on MacOS: Users might want a quick start on their own Mac dev box locally, and be aware that multi-node Ray clusters are only supported on Linux. So, I make it optional. source
Hint user to simply connect to the cluster: if user already created the clusters in command line, they can just connect to it via
ray.init()
without specifying required resources.