diff --git a/scripts/rocm/rocm_mgr.py b/scripts/rocm/rocm_mgr.py index 1e5c9612c..feb7e925b 100644 --- a/scripts/rocm/rocm_mgr.py +++ b/scripts/rocm/rocm_mgr.py @@ -154,7 +154,7 @@ def _get_libs_pkg() -> str: if therock: suffix = therock.rsplit("/", 1)[-1] if suffix.startswith("amd-torch-device-"): - suffix = suffix[len("amd-torch-device-"):] + suffix = suffix[len("amd-torch-device-"):] suffix = suffix.replace("-", "_") folder = "_rocm_sdk_libraries_" + suffix if folder in candidates: