Nodes/ComfyUI_Swwan/Patch Sage Attention KJ (Swwan)
ComfyUI Node

Patch Sage Attention KJ (Swwan)

Migrate Patch Sage Attention KJ into ComfyUI_Swwan. Requires the optional sageattention or sageattn3 package in the ComfyUI runtime.

By aining2022·Created 9 months ago·Updated about a month ago· 27
Patch Sage Attention KJ (Swwan)
  • model
  • MODEL
sage_attentiondisabled
allow_compilefalse
CategorySwwan/model

Inputs (3)

NameTypeDefaultDescription
modelMODEL
sage_attentionCOMBOdisabledPatch the model attention override to use SageAttention. Choose disabled to remove an existing SageAttention override.
allow_compileoptBOOLEANfalseAllow torch.compile inside the SageAttention wrapper when the backend supports it.

Outputs (1)

NameTypeDescription
MODELMODEL