Commit bd5b7fd
authored
[AMD] Load libhipblaslt with rocm_sdk lib if installed via wheels (#9614)
When TheRock wheels are used, libhipblaslt is inside the python venv
that contains the installed wheels. Since it's not in /opt/rocm anymore,
the user would have to set LD_LIBRARY_PATH to `$(rocm-sdk path
root)/lib`. This patch avoids this by calling `rocm_sdk`'s
`preload_libraries` directly. If TheRock wheels aren't use, it'll
fallback to the original search method.
This will make the tests in `python/test/unit/runtime/test_blaslt.py`
pass when TheRock based wheels are used.1 parent eb70647 commit bd5b7fd
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
553 | 563 | | |
554 | 564 | | |
555 | 565 | | |
| |||
0 commit comments