From a00d8e6f94071ef91d776e43037c532ed76528ef Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Thu, 18 Apr 2024 14:40:34 +0200 Subject: [PATCH] Rename env -> display_sys_info --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- lerobot/scripts/{env.py => display_sys_info.py} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename lerobot/scripts/{env.py => display_sys_info.py} (96%) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 475fabb0..7cbed673 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -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: diff --git a/lerobot/scripts/env.py b/lerobot/scripts/display_sys_info.py similarity index 96% rename from lerobot/scripts/env.py rename to lerobot/scripts/display_sys_info.py index 1a7e9508..e4ea4260 100644 --- a/lerobot/scripts/env.py +++ b/lerobot/scripts/display_sys_info.py @@ -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()