[autoscaler] Submit command (#3312)

This commit is contained in:
Richard Liaw
2018-11-20 14:03:34 -08:00
committed by Eric Liang
parent d3697ce4e1
commit c24d87b4d1
2 changed files with 62 additions and 0 deletions
+6
View File
@@ -76,6 +76,12 @@ You can use ``ray exec`` to conveniently run commands on clusters. Note that scr
# Run a command in a screen (experimental)
$ ray exec cluster.yaml 'echo "hello world"' --screen
You can also use ``ray submit`` to execute Python scripts on clusters. This will ``rsync`` the designated file onto the cluster and execute it with the given arguments.
# Run a Python script in a detached tmux session
$ ray submit cluster.yaml --tmux --start --stop tune_experiment.py
Attaching to the cluster
------------------------