aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authordrhead <runemaste644@gmail.com>2023-12-02 14:09:18 -0500
committerdrhead <runemaste644@gmail.com>2023-12-02 14:09:18 -0500
commit78acdcf677a96894651ff0d7d8287f2a994f3781 (patch)
treedcbee67383551692828bc18b7ed1fe8cb198c0d9 /modules
parentdc1adeecdd02f3fb910481e808a6d60a77100fea (diff)
fix variable
Diffstat (limited to 'modules')
-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: