mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-13 00:27:00 +08:00
feat: pytorch attention does not seem to crash the driver anymore
This commit is contained in:
parent
4b2e42e8fe
commit
0683dc912c
@ -267,10 +267,6 @@ try:
|
||||
torch.backends.cuda.enable_math_sdp(True)
|
||||
torch.backends.cuda.enable_mem_efficient_sdp(False)
|
||||
|
||||
if ENABLE_PYTORCH_ATTENTION:
|
||||
print("Disabling pytorch cross attention because ZLUDA does currently not support it.")
|
||||
ENABLE_PYTORCH_ATTENTION = False
|
||||
|
||||
print("Device:", torch_device_name)
|
||||
except:
|
||||
print("Could not pick default device.")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user