mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-13 15:50:49 +08:00
Update zluda.py
This commit is contained in:
parent
af43425ab5
commit
c235a51d82
@ -46,7 +46,7 @@ if torch.cuda.get_device_name().endswith("[ZLUDA]"):
|
||||
print(" :: ZLUDA detected, disabling non-supported functions. ")
|
||||
torch.backends.cudnn.enabled = False
|
||||
print(" :: CuDNN, flash_sdp, mem_efficient_sdp disabled). ")
|
||||
torch.backends.cuda.enable_flash_sdp(False)
|
||||
torch.backends.cuda.enable_flash_sdp(False) # enable if using 6.2 with latest nightly zluda
|
||||
torch.backends.cuda.enable_math_sdp(True)
|
||||
torch.backends.cuda.enable_mem_efficient_sdp(False)
|
||||
print("***--------------------------------------------------------***")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user