From f4b592ac3a026bed8acd81cbbd271d1001d95612 Mon Sep 17 00:00:00 2001 From: Seunghoon Lee Date: Tue, 6 Jan 2026 11:32:04 +0900 Subject: [PATCH] fix windows hipblaslt check --- modules/rocm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rocm.py b/modules/rocm.py index 9b32f2049..d28824a20 100644 --- a/modules/rocm.py +++ b/modules/rocm.py @@ -296,7 +296,7 @@ if sys.platform == "win32": agent = get_hip_agent() if torch.version.hip is not None and not agent.blaslt_supported: - torch.backends.cuda.preferred_blas_library('hipblas') + os.environ['DISABLE_ADDMM_CUDA_LT'] = '1' log.debug('ROCm: disabled hipBLASLt') if (agent.gfx_version & 0xFFF0) == 0x1200: # disable MIOpen for gfx120x