diff options
author | drhead <runemaste644@gmail.com> | 2023-12-02 19:09:18 +0000 |
---|---|---|
committer | drhead <runemaste644@gmail.com> | 2023-12-02 19:09:18 +0000 |
commit | 78acdcf677a96894651ff0d7d8287f2a994f3781 (patch) | |
tree | dcbee67383551692828bc18b7ed1fe8cb198c0d9 /modules/sd_models.py | |
parent | dc1adeecdd02f3fb910481e808a6d60a77100fea (diff) | |
download | stable-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.py | 2 |
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:
|