From 8fdcc5711c41455e251139962e4897e8b5fe1ee0 Mon Sep 17 00:00:00 2001 From: Seunghoon Lee Date: Sat, 22 Mar 2025 11:37:43 +0900 Subject: [PATCH] zluda fix bug --- modules/zluda_installer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/zluda_installer.py b/modules/zluda_installer.py index a280a215a..ae801b4b8 100644 --- a/modules/zluda_installer.py +++ b/modules/zluda_installer.py @@ -43,8 +43,6 @@ class ZLUDALibrary: class Core(ZLUDALibrary): - internal: ctypes.WinDLL - def __init__(self, internal: ctypes.WinDLL): internal.zluda_get_hip_object.restype = ZLUDAResult internal.zluda_get_hip_object.argtypes = [ctypes.c_void_p, ctypes.c_int] @@ -78,7 +76,7 @@ def set_default_agent(agent: rocm.Agent): is_nightly = False try: load_core_modules() - is_nightly = core.get_nightly_flag() + is_nightly = core.get_nightly_flag() == 1 except Exception: pass