mirror of
https://github.com/vladmandic/automatic
synced 2026-08-26 15:16:01 +02:00
Fix rocm triton windows patch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user