Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change cluster status cli output of empty process #1576

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/tutorials/quick-start-local.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ and details of the server. For printing cluster's status outside the cluster, it
CPU: 0.2% | Memory: 0.1 / 8 Gb (0.01%)
• default_process
• test_env | pid: 63254 | node: worker_0
This process has only python packages installed, if provided. No resources were found.
No objects are stored in this process.
• np_pd_env | pid: 29621 | node: worker_0
CPU: 0.3% | Memory: 0.1 / 8 Gb (0.01%)
• summer (runhouse.Function) Currently not running
Expand Down Expand Up @@ -89,7 +89,7 @@ and details of the server. For printing cluster's status outside the cluster, it
CPU: 0.2% | Memory: 0.1 / 16 Gb (0.01%)
• default_process
• test_env | pid: 18746 | node: worker_0
This process has only python packages installed, if provided. No resources were found.
No objects are stored in this process.
• np_pd_env | pid: 29809 | node: head (3.92.223.118)
CPU: 0.4% | Memory: 0.1 / 16 Gb (0.01%)
• summer (runhouse.Function) Currently not running
Expand Down
3 changes: 1 addition & 2 deletions runhouse/cli_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,7 @@ def print_envs_info(servlet_processes: Dict[str, Dict[str, Any]], current_cluste
if len(resources_in_env) == 0:
# No resources were found in the env, only the associated installed python reqs were installed.
console.print(
f"{DOUBLE_SPACE_UNICODE}This process has only python packages installed, if provided. "
f"No resources were found."
f"{DOUBLE_SPACE_UNICODE}No objects are stored in this process."
)

else:
Expand Down
Loading