Commit 5692bf15 authored by AUTOMATIC1111's avatar AUTOMATIC1111

add missing field for DDIM sampler that was breaking img2img

parent e55fec9d
...@@ -80,6 +80,7 @@ class CompVisSampler(sd_samplers_common.Sampler): ...@@ -80,6 +80,7 @@ class CompVisSampler(sd_samplers_common.Sampler):
self.eta_default = 0.0 self.eta_default = 0.0
self.model_wrap_cfg = CFGDenoiserTimesteps(self) self.model_wrap_cfg = CFGDenoiserTimesteps(self)
self.model_wrap = self.model_wrap_cfg.inner_model
def get_timesteps(self, p, steps): 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) discard_next_to_last_sigma = self.config is not None and self.config.options.get('discard_next_to_last_sigma', False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment