From 7fff2a76cd17ce7ce443d881263be8c845864bf8 Mon Sep 17 00:00:00 2001 From: Seunghoon Lee Date: Mon, 22 Jul 2024 15:33:04 +0900 Subject: [PATCH] fix linux --- modules/rocm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rocm.py b/modules/rocm.py index 7b404719f..222392c96 100644 --- a/modules/rocm.py +++ b/modules/rocm.py @@ -86,7 +86,7 @@ else: return resolve_link("/opt/rocm") def get_version() -> str: - arr = spawn(f"{os.path.join(path, 'hipconfig')} --version").split(".") + arr = spawn(f"{os.path.join(path, 'bin', 'hipconfig')} --version").split(".") return f'{arr[0]}.{arr[1]}' if len(arr) >= 2 else None def get_agents() -> List[str]: