diff --git a/modules/sd_samplers_cfg_denoiser.py b/modules/sd_samplers_cfg_denoiser.py index 9e1ae2a6..8ad9fbfe 100644 --- a/modules/sd_samplers_cfg_denoiser.py +++ b/modules/sd_samplers_cfg_denoiser.py @@ -67,8 +67,6 @@ class CFGDenoiser(torch.nn.Module): raise NotImplementedError() def combine_denoised(self, x_out, conds_list, uncond, cond_scale, timestep, x_in, cond): - model_options = self.inner_model.inner_model.forge_objects.unet.model_options - denoised_uncond = x_out[-uncond.shape[0]:] denoised = torch.clone(denoised_uncond)