mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 03:10:21 +00: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