35 lines
925 B
Plaintext
35 lines
925 B
Plaintext
|
|
Local node IP: .+
|
|
|
|
--------------------
|
|
Ray runtime started.
|
|
--------------------
|
|
|
|
Next steps
|
|
Note: The following commands are intended for use on
|
|
the head node or within the cluster network\.
|
|
|
|
To add another node to this Ray cluster, run
|
|
ray start --address='.+'
|
|
|
|
To connect to this Ray cluster:
|
|
import ray
|
|
ray\.init\(\)
|
|
|
|
To submit a Ray job using the Ray Jobs CLI:
|
|
RAY_API_SERVER_ADDRESS='http://.+:8265' ray job submit --working-dir \. -- python my_script\.py
|
|
|
|
See https://docs\.ray\.io/en/latest/cluster/running-applications/job-submission/index\.html
|
|
for more information on submitting Ray jobs to the Ray cluster.
|
|
|
|
To terminate the Ray runtime, run
|
|
ray stop
|
|
|
|
To view the status of the cluster, use
|
|
ray status
|
|
|
|
To monitor and debug Ray, view the dashboard at
|
|
127.0.0.1:8265
|
|
|
|
If connection to the dashboard fails, check your firewall settings and network configuration.
|