This commit is contained in:
lllyasviel
2024-02-04 13:47:31 -08:00
parent d32b5e5458
commit 54d12ef989
2 changed files with 6 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ class CFGDenoiserTimesteps(CFGDenoiser):
super().__init__(sampler)
self.alphas = shared.sd_model.alphas_cumprod
self.mask_before_denoising = True
self.classic_ddim_eps_estimation = True
def get_pred_x0(self, x_in, x_out, sigma):
ts = sigma.to(dtype=int)