aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_models.py
diff options
context:
space:
mode:
authordrhead <runemaste644@gmail.com>2023-12-02 19:09:18 +0000
committerdrhead <runemaste644@gmail.com>2023-12-02 19:09:18 +0000
commit78acdcf677a96894651ff0d7d8287f2a994f3781 (patch)
treedcbee67383551692828bc18b7ed1fe8cb198c0d9 /modules/sd_models.py
parentdc1adeecdd02f3fb910481e808a6d60a77100fea (diff)
downloadstable-diffusion-webui-gfx803-78acdcf677a96894651ff0d7d8287f2a994f3781.tar.gz
stable-diffusion-webui-gfx803-78acdcf677a96894651ff0d7d8287f2a994f3781.tar.bz2
stable-diffusion-webui-gfx803-78acdcf677a96894651ff0d7d8287f2a994f3781.zip
fix variable
Diffstat (limited to 'modules/sd_models.py')
-rw-r--r--modules/sd_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_models.py b/modules/sd_models.py
index 976c7d5b..5a19a00a 100644
--- a/modules/sd_models.py
+++ b/modules/sd_models.py
@@ -374,7 +374,7 @@ def load_model_weights(model, checkpoint_info: CheckpointInfo, state_dict, timer
if shared.cmd_opts.no_half:
model.float()
- model.alphas_cumprod_original = alphas_cumprod
+ model.alphas_cumprod_original = model.alphas_cumprod
devices.dtype_unet = torch.float32
timer.record("apply float()")
else: