mcmonkeyprojects / sd-dynamic-thresholding

Dynamic Thresholding (CFG Scale Fix) for Stable Diffusion (eSwarmUI, ComfyUI, and Auto WebUI)
MIT License
1.1k stars 103 forks source link

Support SD.Next's separate sampler for HiRes-fix. #58

Closed 0xb8 closed 1 year ago

0xb8 commented 1 year ago

Recently SD.Next started to use params.latent_sampler for hires-fix pass, which can differ from main sampler. This change incidentally completely broke Dynamic Thresholding when doing hires-fix pass.

I did not test this PR with the original AUTOMATIC1111's webui version, but it should (probably) work just fine.

mcmonkey4eva commented 1 year ago

Seems to work fine indeed on auto