Skip to content

Commit 729e478

Browse files
committed
fix(hygon): failed to detect runtime version
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent 4ab2ee6 commit 729e478

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

gpustack_runtime/detector/pyrocmcore/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ def getROCmVersion() -> str | None:
6262
rocm_path / ".info" / "version-rocm",
6363
rocm_path / ".info" / "version-dev",
6464
rocm_path / ".info" / "version-libs",
65+
rocm_path.parent / ".info" / "version",
66+
rocm_path.parent / ".info" / "version-rocm",
67+
rocm_path.parent / ".info" / "version-dev",
68+
rocm_path.parent / ".info" / "version-libs",
6569
]
6670
for vf in rocm_version_files:
6771
if not vf.exists():

0 commit comments

Comments
 (0)