This commit is contained in:
Haoming 2026-02-15 12:37:18 +08:00
parent 027c862453
commit 68deb84b7a

View File

@ -21,6 +21,7 @@ class Sage3PatchModel(io.ComfyNode):
io.Model.Input("model"),
],
outputs=[io.Model.Output()],
hidden=[io.Hidden.unique_id],
is_experimental=True,
)
@ -29,10 +30,11 @@ class Sage3PatchModel(io.ComfyNode):
sage3: Callable | None = get_attention_function("sage3", default=None)
if sage3 is None:
PromptServer.instance.send_progress_text(
"`sageattn3` is not installed / available...",
cls.hidden.unique_id,
)
if cls.hidden.unique_id:
PromptServer.instance.send_progress_text(
"`sageattn3` is not installed / available...",
cls.hidden.unique_id,
)
return io.NodeOutput(model)
def attention_override(func: Callable, *args, **kwargs):