mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-07-13 04:06:58 +08:00
Merge 31b27afe69a8cabeabd051c1ffcf88fbe4549641 into 519c9411653df99761053c30e101816e0ca3c24b
This commit is contained in:
commit
9892cc33e7
@ -364,7 +364,7 @@ except:
|
||||
pass
|
||||
|
||||
|
||||
if ENABLE_PYTORCH_ATTENTION:
|
||||
if ENABLE_PYTORCH_ATTENTION and cpu_state != CPUState.CPU:
|
||||
torch.backends.cuda.enable_math_sdp(True)
|
||||
torch.backends.cuda.enable_flash_sdp(True)
|
||||
torch.backends.cuda.enable_mem_efficient_sdp(True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user