Nodes/Parametric Studio/CFG Rescale Calculator
ComfyUI Node

CFG Rescale Calculator

Computes a reduced CFG number from base_cfg, a step window and a typed-in noise magnitude. It does not patch a model or run per sampling step.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
CFG Rescale Calculator
    • calculated_cfg
    • reduction_applied
    • reason
    ◄base_cfg7.0►
    ◄rescale_strength0.50►
    ◄start_step10►
    ◄end_step50►
    ◄step0►
    ◄noise_magnitude1.000►
    ◄threshold1.000►
    ◄mode▾►
    CategoryParametric/Video

    Inputs (8)

    NameTypeDefaultDescription
    base_cfgFLOAT7.00–100Base cfg. From 0 to 100. Default 7.0.
    rescale_strengthFLOAT0.500–1Rescale strength. From 0 to 1. Default 0.5.
    start_stepINT100–10000Start step. From 0 to 10000. Default 10.
    end_stepINT500–10000End step. From 0 to 10000. Default 50.
    stepINT00–10000Step. From 0 to 10000. Default 0.
    noise_magnitudeFLOAT1.0000–1000000Noise magnitude. From 0 to 1e+06. Default 1.0.
    thresholdFLOAT1.0000–1000000The cut-off value. From 0 to 1e+06. Default 1.0.
    modeCOMBOMode. One of 3 choices.

    Outputs (3)

    NameTypeDescription
    calculated_cfgFLOAT—
    reduction_appliedBOOLEAN—
    reasonSTRING—