ComfyUI Node
Pre CFG gradient scaling
A ComfyUI node in model_patches/Pre CFG with 9 inputs and 1 output.
Pre CFG gradient scaling
- model
- input_mask
- input_latent
- MODEL
◄maximum_scale80►
◄minimum_scale4.5►
◄strength0.5►
◄end_at_sigma0.28►
◄converging_scalestrue►
◄invert_maskfalse►
Categorymodel_patches/Pre CFG
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| maximum_scale | FLOAT | 800–1000 | It is an equivalent to the CFG scale. |
| minimum_scale | FLOAT | 4.50–10 | It is an equivalent to the CFG scale. |
| strength | FLOAT | 0.50–10 | — |
| end_at_sigma | FLOAT | 0.280–1000 | — |
| converging_scales | BOOLEAN | true | — |
| invert_mask | BOOLEAN | false | — |
| input_maskopt | MASK | If only a mask is connected the scale becomes a CFG scale of what is being masked. When a latent is connected the mask defines what will be modified by the node. | |
| input_latentopt | LATENT | If a latent is connected the scale becomes the maximum scale allowed in which to seek similarity. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |