mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 09:38:23 +02:00
fix
This commit is contained in:
+4
-2
@@ -6,6 +6,10 @@ import subprocess
|
||||
from typing import Union, List
|
||||
|
||||
|
||||
HIPBLASLT_TENSILE_LIBPATH = os.environ.get("HIPBLASLT_TENSILE_LIBPATH", None if sys.platform == "win32" # not available
|
||||
else "/opt/rocm/lib/hipblaslt/library")
|
||||
|
||||
|
||||
def resolve_link(path_: str) -> str:
|
||||
if not os.path.islink(path_):
|
||||
return path_
|
||||
@@ -132,8 +136,6 @@ if sys.platform == "win32":
|
||||
|
||||
is_wsl: bool = False
|
||||
else:
|
||||
HIPBLASLT_TENSILE_LIBPATH = os.environ.get("HIPBLASLT_TENSILE_LIBPATH", "/opt/rocm/lib/hipblaslt/library")
|
||||
|
||||
def find() -> Union[str, None]:
|
||||
rocm_path = shutil.which("hipconfig")
|
||||
if rocm_path is not None:
|
||||
|
||||
Reference in New Issue
Block a user