aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_samplers.py
diff options
context:
space:
mode:
authorIvan <ivan.demian2009@gmail.com>2023-01-27 12:21:48 +0000
committerGitHub <noreply@github.com>2023-01-27 12:21:48 +0000
commit63391419c11c1749a3d83dade19235a836c509f9 (patch)
tree5781c7fe6de7a61bb5936956e68e0582f03d7f6c /modules/sd_samplers.py
parentf5d73b6a6646b51027c8e6f6c6154f21b58d6af2 (diff)
parent9beb794e0b0dc1a0f9e89d8e38bd789a8c608397 (diff)
downloadstable-diffusion-webui-gfx803-63391419c11c1749a3d83dade19235a836c509f9.tar.gz
stable-diffusion-webui-gfx803-63391419c11c1749a3d83dade19235a836c509f9.tar.bz2
stable-diffusion-webui-gfx803-63391419c11c1749a3d83dade19235a836c509f9.zip
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'modules/sd_samplers.py')
-rw-r--r--modules/sd_samplers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_samplers.py b/modules/sd_samplers.py
index 6261d1f7..a7910b56 100644
--- a/modules/sd_samplers.py
+++ b/modules/sd_samplers.py
@@ -454,7 +454,7 @@ class KDiffusionSampler:
def initialize(self, p):
self.model_wrap_cfg.mask = p.mask if hasattr(p, 'mask') else None
self.model_wrap_cfg.nmask = p.nmask if hasattr(p, 'nmask') else None
- self.model_wrap.step = 0
+ self.model_wrap_cfg.step = 0
self.eta = p.eta or opts.eta_ancestral
k_diffusion.sampling.torch = TorchHijack(self.sampler_noises if self.sampler_noises is not None else [])