From 7eac95b219024ff28dc8c1b02d330cb27e68ba44 Mon Sep 17 00:00:00 2001 From: Sasha Belousov <141743480+BelSasha@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:29:22 +0300 Subject: [PATCH] Update status docs (#889) Co-authored-by: Alexandra Belousov --- docs/tutorials/quick-start-local.rst | 72 ++++++++++++++++++++++------ 1 file changed, 58 insertions(+), 14 deletions(-) diff --git a/docs/tutorials/quick-start-local.rst b/docs/tutorials/quick-start-local.rst index 94ed42c4f..57e6be1f2 100644 --- a/docs/tutorials/quick-start-local.rst +++ b/docs/tutorials/quick-start-local.rst @@ -22,7 +22,7 @@ First install Runhouse with ``pip install runhouse`` Next, start the Runhouse server locally on CLI with ``runhouse restart``, and use ``runhouse status`` to print the status -and details of the server. +and details of the server. For printing cluster's status outside the cluser, its name should provided as well: ``runhouse status ``. .. code:: ipython3 @@ -32,24 +32,68 @@ and details of the server. !runhouse status +*CPU cluster* .. parsed-literal:: :class: code-output - 😈 Runhouse Daemon is running 🏃 - • server_port: 32300 - • den_auth: False - • server_connection_type: none + /sashab/rh-basic-cpu + 😈 Runhouse Daemon is running 🏃 + Runhouse v0.0.28 + server pid: 29395 + • server port: 32300 + • den auth: True + • server connection type: ssh • backend config: - • use_local_telemetry: False - • domain: None - • server_host: 0.0.0.0 - • ips: ['0.0.0.0'] - • resource_subtype: Cluster - Serving 🍦 : - base (Env): - This environment has no resources. -  + • resource subtype: OnDemandCluster + • use local telemetry: False + • domain: None + • server host: 0.0.0.0 + • ips: ['52.207.212.159'] + • resource subtype: OnDemandCluster + • autostop mins: autostop disabled + Serving 🍦 : + • _cluster_default_env (runhouse.Env) + This environment has only python packages installed, if such provided. No resources were found. + • sd_env (runhouse.Env) | pid: 29716 | node: head (52.207.212.159) + CPU: 0.0% | Memory: 0.13 / 8 Gb (1.65%) + This environment has only python packages installed, if such provided. No resources were found. + • np_pd_env (runhouse.Env) | pid: 29578 | node: head (52.207.212.159) + CPU: 0.0% | Memory: 0.13 / 8 Gb (1.71%) + • /sashab/summer (runhouse.Function) + • mult (runhouse.Function) + +*GPU cluster* + +.. parsed-literal:: + :class: code-output + + /sashab/rh-basic-gpu + 😈 Runhouse Daemon is running 🏃 + Runhouse v0.0.28 + server pid: 29486 + • server port: 32300 + • den auth: True + • server connection type: ssh + • backend config: + • resource subtype: OnDemandCluster + • use local telemetry: False + • domain: None + • server host: 0.0.0.0 + • ips: ['35.171.157.49'] + • resource subtype: OnDemandCluster + • autostop mins: autostop disabled + Serving 🍦 : + • _cluster_default_env (runhouse.Env) + This environment has only python packages installed, if such provided. No resources were found. + • np_pd_env (runhouse.Env) | pid: 29672 | node: head (35.171.157.49) + CPU: 0.0% | Memory: 0.13 / 16 Gb (0.85%) + • /sashab/summer (runhouse.Function) + • mult (runhouse.Function) + • sd_env (runhouse.Env) | pid: 29812 | node: head (35.171.157.49) + CPU: 1.0% | Memory: 4.47 / 16 Gb (28.95%) + GPU: 0.0% | Memory: 6.89 / 23 Gb (29.96%) + • sd_generate (runhouse.Function) Local Python Function ---------------------