mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-01 22:09:46 +00:00
Update sd_samplers_cfg_denoiser.py
This commit is contained in:
@@ -66,9 +66,7 @@ class CFGDenoiser(torch.nn.Module):
|
||||
raise NotImplementedError()
|
||||
|
||||
def combine_denoised(self, x_out, conds_list, uncond, cond_scale):
|
||||
if len(conds_list) == 1:
|
||||
model_options = self.inner_model.inner_model.forge_objects.unet.model_options
|
||||
a = 0
|
||||
model_options = self.inner_model.inner_model.forge_objects.unet.model_options
|
||||
|
||||
denoised_uncond = x_out[-uncond.shape[0]:]
|
||||
denoised = torch.clone(denoised_uncond)
|
||||
|
||||
Reference in New Issue
Block a user