Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
model | The diffusion model to apply renormalized CFG to | MODEL | Yes | - |
cfg_trunc | Timestep threshold for applying CFG scaling. When the current timestep is below this value, CFG scaling is applied; otherwise, only the conditional prediction is used (default: 100.0) | FLOAT | No | 0.0 - 100.0 |
renorm_cfg | Renormalization factor that limits the maximum norm of the CFG-scaled prediction relative to the original conditional prediction. A value of 0.0 disables renormalization (default: 1.0) | FLOAT | No | 0.0 - 100.0 |
Outputs
| Output Name | Description | Data Type |
|---|---|---|
model | The modified model with renormalized CFG function applied | MODEL |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
1fb74c816d82d39e030a25e372c01f251a42c7fe6314cc6cefbad984acb262d3