mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-14 12:32:31 +08:00
text
This commit is contained in:
parent
027c862453
commit
68deb84b7a
@ -21,6 +21,7 @@ class Sage3PatchModel(io.ComfyNode):
|
|||||||
io.Model.Input("model"),
|
io.Model.Input("model"),
|
||||||
],
|
],
|
||||||
outputs=[io.Model.Output()],
|
outputs=[io.Model.Output()],
|
||||||
|
hidden=[io.Hidden.unique_id],
|
||||||
is_experimental=True,
|
is_experimental=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -29,10 +30,11 @@ class Sage3PatchModel(io.ComfyNode):
|
|||||||
sage3: Callable | None = get_attention_function("sage3", default=None)
|
sage3: Callable | None = get_attention_function("sage3", default=None)
|
||||||
|
|
||||||
if sage3 is None:
|
if sage3 is None:
|
||||||
PromptServer.instance.send_progress_text(
|
if cls.hidden.unique_id:
|
||||||
"`sageattn3` is not installed / available...",
|
PromptServer.instance.send_progress_text(
|
||||||
cls.hidden.unique_id,
|
"`sageattn3` is not installed / available...",
|
||||||
)
|
cls.hidden.unique_id,
|
||||||
|
)
|
||||||
return io.NodeOutput(model)
|
return io.NodeOutput(model)
|
||||||
|
|
||||||
def attention_override(func: Callable, *args, **kwargs):
|
def attention_override(func: Callable, *args, **kwargs):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user