You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct Z-Image guidance scale threshold from > 1 to > 0
Z-Image uses a non-standard CFG formula: pred = pos + scale * (pos - neg)
Unlike the standard formula: pred = neg + scale * (pos - neg)
With Z-Image's formula, any guidance_scale > 0 applies CFG effect.
The previous > 1 check was incorrect and caused CFG to be ignored
when 0 < guidance_scale < 1.
Also updated docstring to document the correct Z-Image CFG formula.
Fixes#12905
0 commit comments