ComfyUI Extension
comfy-sageattention-optout-customnodes
allows you to force a model to not use sage attention even when you have launched comfy with sage attention globally.
EnviralDesign/comfy-sageattention-optout-customnodes
Nodes1
On cloudLocal install
Categoryloaders/model
Stars2
Updated4 months ago
Readme
comfy-sageattention-optout-customnodes
Minimal ComfyUI custom node for per-model attention overrides.
This node is intended for the case where ComfyUI is started with a global attention mode such as --use-sage-attention, but a specific model needs to opt out and use a different attention implementation.
Node
Attention Override (Per Model)
Modes:
disabled: remove the per-model override and fall back to ComfyUI's global attention selectionsdpa: force PyTorch scaled dot-product attention for this modelpytorch: alias forsdpasage: force SageAttention for this modelflash: force Flash Attention for this model if available
Notes
- This node only changes the model passed through it.
disableddoes not disable global SageAttention. It only removes the per-model override.- If ComfyUI was started with global SageAttention and you want one model to opt out, use
sdpa.
Donations & Support
If this saves you time, you can support the work here: