Rename env -> display_sys_info

This commit is contained in:
Simon Alibert 2024-04-18 14:40:34 +02:00
parent 04340df89a
commit a00d8e6f94
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ body:
id: system-info
attributes:
label: System Info
description: If needed, you can share your lerobot configuration with us by running `python -m lerobot.scripts.env` and copy-pasting its outputs below
description: If needed, you can share your lerobot configuration with us by running `python -m lerobot.scripts.display_sys_info` and copy-pasting its outputs below
render: Shell
placeholder: lerobot version, OS, python version, numpy version, torch version, and lerobot's configuration
validations:

View File

@ -15,7 +15,7 @@ cuda_version = torch._C._cuda_getCompiledVersion() if torch.version.cuda is not
# TODO(aliberts): refactor into an actual command `lerobot env`
def get_env_info() -> dict:
def display_sys_info() -> dict:
"""Run this to get basic system info to help for tracking issues & bugs."""
info = {
"`lerobot` version": version,
@ -40,4 +40,4 @@ def format_dict(d: dict) -> str:
if __name__ == "__main__":
get_env_info()
display_sys_info()