Update sd_samplers_cfg_denoiser.py

This commit is contained in:
lllyasviel
2024-01-27 13:29:00 -08:00
parent 57a294b111
commit 2591f16eb3

View File

@@ -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)