ComfyUI Node
PSN Auto CFG Rescale
Rescale a CFG value based on the conditional/unconditional noise difference.
PSN Auto CFG Rescale
- model
- rescaled_cfg
- reason
◄modelmodel►
◄cfg7.00►
◄diff0.000►
◄max_cfg10.00►
◄rescale_mode▾►
CategoryParametric/Sampling
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| model | STRING | model | The model to use. Default model. |
| cfg | FLOAT | 7.000–1000000000 | Guidance scale. From 0 to 1e+09. Default 7.0. |
| diff | FLOAT | 0.0000–1000000000 | Diff. From 0 to 1e+09. Default 0.0. |
| max_cfg | FLOAT | 10.000.001–1000000000 | Max cfg. From 0.001 to 1e+09. Default 10.0. |
| rescale_mode | COMBO | Rescale mode. One of 3 choices. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| model | STRING | — |
| rescaled_cfg | FLOAT | — |
| reason | STRING | — |