Merge pull request #4573 from james58899/fix-rocm-triton-windows

Fix rocm triton windows patch
This commit is contained in:
Vladimir Mandic
2026-01-20 14:37:51 +01:00
committed by GitHub
+1 -1
View File
@@ -59,7 +59,7 @@ if sys.platform == "win32":
return zluda.core.to_hip_stream(_cuda_getCurrentRawStream(device))
def get_default_agent() -> Union[Agent, None]:
if shared.devices.backend == "rocm":
if shared.devices.has_rocm():
return devices.get_hip_agent()
else:
from modules import zluda