mirror of
https://github.com/wassname/ray.git
synced 2026-07-11 11:59:36 +08:00
[docs] redis-port -> port (#10937)
This commit is contained in:
@@ -111,7 +111,7 @@ worker_setup_commands: []
|
||||
# Command to start ray on the head node. You don't need to change this.
|
||||
head_start_ray_commands:
|
||||
- ray stop
|
||||
- ulimit -n 65536; ray start --head --num-redis-shards=10 --port=6379 --autoscaling-config=~/ray_bootstrap_config.yaml
|
||||
- ulimit -n 65536; ray start --head --port=6379 --autoscaling-config=~/ray_bootstrap_config.yaml
|
||||
|
||||
# Command to start ray on worker nodes. You don't need to change this.
|
||||
worker_start_ray_commands:
|
||||
|
||||
@@ -525,9 +525,8 @@ def start(node_ip_address, address, port, redis_password, redis_shard_ports,
|
||||
cli_logger.abort("`{}` should not be specified without `{}`.",
|
||||
cf.bold("--port"), cf.bold("--head"))
|
||||
|
||||
raise Exception(
|
||||
"If --head is not passed in, --port and --redis-port are not "
|
||||
"allowed.")
|
||||
raise Exception("If --head is not passed in, --port is not "
|
||||
"allowed.")
|
||||
if redis_shard_ports is not None:
|
||||
cli_logger.abort("`{}` should not be specified without `{}`.",
|
||||
cf.bold("--redis-shard-ports"), cf.bold("--head"))
|
||||
|
||||
@@ -61,7 +61,7 @@ worker_setup_commands: []
|
||||
# # Command to start ray on the head node. You don't need to change this.
|
||||
head_start_ray_commands:
|
||||
- ray stop
|
||||
- ray start --head --redis-port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml --object-store-memory=1000000000
|
||||
- ray start --head --port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml --object-store-memory=1000000000
|
||||
|
||||
# Command to start ray on worker nodes. You don't need to change this.
|
||||
worker_start_ray_commands:
|
||||
|
||||
@@ -62,7 +62,7 @@ worker_setup_commands: []
|
||||
# # Command to start ray on the head node. You don't need to change this.
|
||||
head_start_ray_commands:
|
||||
- ray stop
|
||||
- ray start --head --redis-port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml --object-store-memory=1000000000
|
||||
- ray start --head --port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml --object-store-memory=1000000000
|
||||
|
||||
# Command to start ray on worker nodes. You don't need to change this.
|
||||
worker_start_ray_commands:
|
||||
|
||||
Reference in New Issue
Block a user