ComfyUI's args["cond"]/["uncond"] are (x - denoised), which are sigma-scaled. At late denoising steps (sigma~0.01), the fixed K=0.2 correction was 200x the signal magnitude, destroying the image. Fix: compute SMC in denoised space using args["cond_denoised"] and args["uncond_denoised"], which have consistent magnitude across all sigma values — matching the paper's noise-prediction space. Also fixes first-step behavior to match the original paper (SMC correction applied from step 0, not step 1). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4.4 KiB
4.4 KiB