Add numbers to .so because wheels dont allow symlinks (#820)

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
Galantsev, Dmitrii
2025-11-06 03:57:31 -06:00
committed by GitHub
parent aac09912ec
commit 8bdf951d32
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ def find_smi_library():
err = OSError("Could not load {library_name}")
possible_locations = []
# 0.
libamd_smi_path = Path(__file__).resolve().parent.parent.parent.parent / "lib/libamd_smi.so"
libamd_smi_path = Path(__file__).resolve().parent.parent.parent.parent / "lib/libamd_smi.so.26"
possible_locations.append(libamd_smi_path)
# 1.
rocm_path = os.getenv("ROCM_HOME", os.getenv("ROCM_PATH"))