From 15756ba1d4a2d0c0655e9b2a27952554026325e6 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Mon, 1 May 2023 15:44:38 +0200 Subject: [PATCH] Some precisions. --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- launcher/src/env_cli.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 1cdbdb04..e2dad6e5 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -6,7 +6,7 @@ body: attributes: label: System Info description: | - Please share your system info with us. + Please share your system info with us (`text-generation-launcher --env` if installed locally). The full command line used that causes issues: OS version: Rust version (if self-compiling, `cargo version`): diff --git a/launcher/src/env_cli.rs b/launcher/src/env_cli.rs index de78cbb5..e2e9d01c 100644 --- a/launcher/src/env_cli.rs +++ b/launcher/src/env_cli.rs @@ -40,4 +40,6 @@ pub fn print_env() { ); let nvidia_smi = nvidia_smi().unwrap_or("N/A".to_string()); println!("Nvidia-smi:\n {}", nvidia_smi); + println!("Command line used: "); + println!("OS: "); }