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

Patch Sage Attention KJ (KJ Alternative)

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 5 days ago· 29
Patch Sage Attention KJ (KJ Alternative)
  • 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