Modify yaml configs to reflect new combined Top Stats

Signed-off-by: colramos-amd <colramos@amd.com>
このコミットが含まれているのは:
colramos-amd committed 2024-02-13 19:56:46 -06:00
1 親 bd83f68412
コミット b7d5d3b64b
20ファイル変更
+89 -100

検索条件に一致するファイルはありません

+4 -3
ファイルの表示
@@ -230,9 +230,10 @@ def run(cmd,exit_on_error=False):
p = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if exit_on_error:
if cmd[0] == "rocm-smi" and p.returncode != 0:
logging.error("ERROR: No GPU detected. Unable to load rocm-smi")
sys.exit(1)
if cmd[0] == "rocm-smi":
if p.returncode != 2 and p.returncode != 0:
logging.error("ERROR: No GPU detected. Unable to load rocm-smi")
sys.exit(1)
elif p.returncode != 0:
logging.error("ERROR: command [%s] failed with non-zero exit code" % cmd)
sys.exit(1)