ComfyUI Node
Patch Sage Attention KJ (SGLang)
Worker-native replacement for Patch Sage Attention KJ.
Patch Sage Attention KJ (SGLang)
- model
- MODEL
◄sage_attentionfalse►
◄allow_compilefalse►
CategorySGLang/MiniMax H3
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| sage_attention | COMBO | false | Patch the attention of the model passing through this node to use sageattn. To revert, run this node again with the disabled option. Requires the sageattention library to be installed. |
| allow_compileopt | BOOLEAN | false | Allow the use of torch.compile for the sage attention function, requires latest sageattn 2.2.0 or higher. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |