ComfyUI Node
π― Attention Modifier Parameters
A ComfyUI node in model_patches/Advanced_CFG_Controller/attention_modifiers with 8 inputs and 2 outputs.
π― Attention Modifier Parameters
- join_parameters
- Attention modifier
- Parameters as string
βsigma_start1000.0βΊ
βsigma_end0.0βΊ
βself_attn_mod_evalββΊ
βunet_block_id_inputββΊ
βunet_block_id_middleββΊ
βunet_block_id_outputββΊ
βunet_attnBoth Attention TypesβΊ
Categorymodel_patches/Advanced_CFG_Controller/attention_modifiers
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| sigma_start | FLOAT | 1000.00β10000 | Start applying attention modifications at this sigma level |
| sigma_end | FLOAT | 0.00β10000 | Stop applying attention modifications at this sigma level |
| self_attn_mod_eval | STRING | Python expression for attention modification (e.g., 'attnbc * 0.5 + attnopt * 0.5') | |
| unet_block_id_input | STRING | Input block IDs (comma-separated, e.g., '4,5,7,8') | |
| unet_block_id_middle | STRING | Middle block IDs (comma-separated, e.g., '0') | |
| unet_block_id_output | STRING | Output block IDs (comma-separated, e.g., '0,1,2,3') | |
| unet_attn | COMBO | Both Attention Types | Which attention layers to modify |
| join_parametersopt | ATTNMOD | Chain multiple attention modifiers together |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| Attention modifier | ATTNMOD | β |
| Parameters as string | STRING | β |