ComfyUI Node
CFG-Ctrl / SMC-CFG Guider
A ComfyUI node in sampling/custom_sampling/guiders with 20 inputs and 1 output.
CFG-Ctrl / SMC-CFG Guider
- model
- positive
- negative
- GUIDER
◄cfg4.0►
◄enable_smctrue►
◄smc_lambda6.0►
◄smc_k0.30►
◄no_cfg_warmup_steps0►
◄active_start_step0►
◄active_end_step1000000000►
◄active_start_percent0.00►
◄active_end_percent1.00►
◄switch_modesign►
◄boundary_epsilon0.000►
◄epsilon_modeabsolute►
◄math_dtypefloat32►
◄state_dtypematch►
◄apply_only_if_cfg_gt_1false►
◄reset_on_shape_changetrue►
◄detach_prevtrue►
Categorysampling/custom_sampling/guiders
Inputs (20)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| positive | CONDITIONING | — | |
| negative | CONDITIONING | — | |
| cfg | FLOAT | 4.00–100 | — |
| enable_smc | BOOLEAN | true | — |
| smc_lambda | FLOAT | 6.00–50 | — |
| smc_k | FLOAT | 0.300–5 | — |
| no_cfg_warmup_steps | INT | 00–50 | — |
| active_start_step | INT | 00–10000 | — |
| active_end_step | INT | 10000000000–1000000000 | — |
| active_start_percent | FLOAT | 0.000–1 | — |
| active_end_percent | FLOAT | 1.000–1 | — |
| switch_mode | COMBO | sign | 4 options: sign, sat, tanh, vector_norm |
| boundary_epsilon | FLOAT | 0.0000–10 | — |
| epsilon_mode | COMBO | absolute | 2 options: absolute, relative |
| math_dtype | COMBO | float32 | 4 options: float32, match, float16, bfloat16 |
| state_dtype | COMBO | match | 4 options: match, float16, bfloat16, float32 |
| apply_only_if_cfg_gt_1 | BOOLEAN | false | — |
| reset_on_shape_change | BOOLEAN | true | — |
| detach_prev | BOOLEAN | true | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| GUIDER | GUIDER | — |