From 4b35dfc2a2bcda6b7c42bcb6160f4c69b5451d96 Mon Sep 17 00:00:00 2001 From: Seunghoon Lee Date: Wed, 18 Dec 2024 23:04:43 +0900 Subject: [PATCH] zluda HIP SDK 6.2 support --- modules/zluda_installer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/zluda_installer.py b/modules/zluda_installer.py index 84c130e8d..5e43a6635 100644 --- a/modules/zluda_installer.py +++ b/modules/zluda_installer.py @@ -31,7 +31,10 @@ def install(zluda_path: os.PathLike) -> None: if os.path.exists(zluda_path): return - urllib.request.urlretrieve(f'https://github.com/lshqqytiger/ZLUDA/releases/download/rel.{os.environ.get("ZLUDA_HASH", "c0804ca624963aab420cb418412b1c7fbae3454b")}/ZLUDA-windows-rocm{rocm.version[0]}-amd64.zip', '_zluda') + commit = os.environ.get("ZLUDA_HASH", "1b6e012d8f2404840b524e2abae12cb91e1ac01d") + if rocm.version == "6.1": + commit = "c0804ca624963aab420cb418412b1c7fbae3454b" + urllib.request.urlretrieve(f'https://github.com/lshqqytiger/ZLUDA/releases/download/rel.{commit}/ZLUDA-windows-rocm{rocm.version[0]}-amd64.zip', '_zluda') with zipfile.ZipFile('_zluda', 'r') as archive: infos = archive.infolist() for info in infos: