mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-13 07:40:50 +08:00
Update model_management.py
This commit is contained in:
parent
1871a594ba
commit
af43425ab5
@ -273,8 +273,8 @@ except:
|
||||
pass
|
||||
|
||||
|
||||
# if ENABLE_PYTORCH_ATTENTION:
|
||||
# torch.backends.cuda.enable_math_sdp(True)
|
||||
if ENABLE_PYTORCH_ATTENTION:
|
||||
torch.backends.cuda.enable_math_sdp(True)
|
||||
# torch.backends.cuda.enable_flash_sdp(True)
|
||||
# torch.backends.cuda.enable_mem_efficient_sdp(True)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user