add missing field for DDIM sampler that was breaking img2img

This commit is contained in:
AUTOMATIC1111 2024-01-01 11:11:14 +03:00
parent e55fec9d9a
commit 5692bf1517
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class CompVisSampler(sd_samplers_common.Sampler):
self.eta_default = 0.0
self.model_wrap_cfg = CFGDenoiserTimesteps(self)
self.model_wrap = self.model_wrap_cfg.inner_model
def get_timesteps(self, p, steps):
discard_next_to_last_sigma = self.config is not None and self.config.options.get('discard_next_to_last_sigma', False)