mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-02 08:27:05 +08:00
Ruff fixes
This commit is contained in:
parent
2d69b2f064
commit
bb7393565b
@ -36,10 +36,7 @@ if model_management.sage_attention_enabled():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if not sage_attention_available:
|
if not sage_attention_available:
|
||||||
if e.name == "sageattention":
|
logging.error(f"\n\nTo use the `--use-sage-attention` feature, the `sageattention` package must be installed first.\ncommand:\n\t{sys.executable} -m pip install sageattention")
|
||||||
logging.error(f"\n\nTo use the `--use-sage-attention` feature, the `sageattention` package must be installed first.\ncommand:\n\t{sys.executable} -m pip install sageattention")
|
|
||||||
else:
|
|
||||||
raise e
|
|
||||||
exit(-1)
|
exit(-1)
|
||||||
|
|
||||||
if model_management.flash_attention_enabled():
|
if model_management.flash_attention_enabled():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user