mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-21 14:51:07 -08:00
revert to applying mask before denoising for k-diffusion, like it was before
This commit is contained in:
@@ -49,6 +49,7 @@ class CFGDenoiserTimesteps(CFGDenoiser):
|
||||
super().__init__(sampler)
|
||||
|
||||
self.alphas = shared.sd_model.alphas_cumprod
|
||||
self.mask_before_denoising = True
|
||||
|
||||
def get_pred_x0(self, x_in, x_out, sigma):
|
||||
ts = sigma.to(dtype=int)
|
||||
|
||||
Reference in New Issue
Block a user