mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-02 01:57:06 +08:00
Separate sage 1.x/2.x and sage 3.x on different functions and flags 3.
This commit is contained in:
parent
5e1865c1c7
commit
3c3009c020
@ -1044,6 +1044,9 @@ def cast_to_device(tensor, device, dtype, copy=False):
|
||||
def sage_attention_enabled():
|
||||
return args.use_sage_attention
|
||||
|
||||
def sage_attention3_enabled():
|
||||
return args.use_sage_attention3
|
||||
|
||||
def flash_attention_enabled():
|
||||
return args.use_flash_attention
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user