Article
Ray CLI
Ray exposes a command line interface to manage the cluster (and nodes).
This article explains the commands available, which are useful when working with Ray on Golem.
For more details check out the Ray Cluster Management CLI reference.
Commands Overview
While ray start & ray stop are for manual node setup there are also many cluster commands
ray up golem-cluster.yamlstarts up a cluster specified by the yamlray down golem-cluster.yamlterminates the clusterray submit golem-cluster.yaml ray-app.pyexecutes an app on the clusterray exec golem-cluster.yaml 'ray status'shows cluster statusray exec golem-cluster.yaml 'shell-command-line'executes shell commands on the head noderay attach golem-cluster.yamlgives you shell access to the head noderay dashboard golem-cluster.yamltunnels the Ray dashboard tohttp://localhost:8265ray rsync_up golem-cluster.yaml /local/path /path/on/clusteruploads files to the head noderay rsync_down golem-cluster.yaml /path/on/cluster /local/pathdownloads files from the head node