mcmonkeyprojects/sd-dynamic-thresholding
A Stable Diffusion extension enabling higher CFG scales without color issues by clamping latents during the diffusion sampling process.

This extension implements the Dynamic Thresholding (CFG Scale Fix) technique for Stable Diffusion image generation. It modifies the latent clamping behavior during sampling steps, addressing the color artifacts that typically appear when using high Classifier-Free Guidance scales. The technique was originally developed by Birch-san and has been ported across multiple Stable Diffusion interfaces including SwarmUI, ComfyUI, and Automatic1111 WebUI, making it accessible to users working with diffusion models.