mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 19:39:40 +08:00
[cli][ray] update ray cli message (#10823)
This commit is contained in:
@@ -489,7 +489,7 @@ def start(node_ip_address, address, port, redis_password, redis_shard_ports,
|
||||
cli_logger.print(
|
||||
"ray{}init(address{}{}{})", c.magenta("."),
|
||||
c.magenta("="), c.yellow("'auto'"),
|
||||
", redis_password{}{}".format(
|
||||
", _redis_password{}{}".format(
|
||||
c.magenta("="),
|
||||
c.yellow("'" + redis_password + "'"))
|
||||
if redis_password else "")
|
||||
|
||||
@@ -10,7 +10,7 @@ Next steps
|
||||
|
||||
Alternatively, use the following Python code:
|
||||
import ray
|
||||
ray\.init\(address='auto', redis_password='.+'\)
|
||||
ray\.init\(address='auto', _redis_password='.+'\)
|
||||
|
||||
If connection fails, check your firewall settings other network configuration.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user