From 454d3aa07d59e84b31f3ca6cefc0936340a329db Mon Sep 17 00:00:00 2001 From: GiliR4t1qbit Date: Fri, 30 Nov 2018 16:39:40 -0800 Subject: [PATCH] [docs] Snippet did not have a code-block tag above it (#3442) --- doc/source/autoscaling.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/autoscaling.rst b/doc/source/autoscaling.rst index aca137575..90c8e92f3 100644 --- a/doc/source/autoscaling.rst +++ b/doc/source/autoscaling.rst @@ -78,6 +78,8 @@ You can use ``ray exec`` to conveniently run commands on clusters. Note that scr 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. +.. code-block:: bash + # Run a Python script in a detached tmux session $ ray submit cluster.yaml --tmux --start --stop tune_experiment.py