aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-10-23 18:11:27 +0000
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-10-23 18:11:27 +0000
commit9c1eba2af3a6f9cd6282b3a367656793cbe70c01 (patch)
tree77c4bac1583e664be0e89e29b94a0eeda794c510 /modules
parenteaa9f5162fbca2ebcb2682eb861bc7e5510a2b66 (diff)
downloadstable-diffusion-webui-gfx803-9c1eba2af3a6f9cd6282b3a367656793cbe70c01.tar.gz
stable-diffusion-webui-gfx803-9c1eba2af3a6f9cd6282b3a367656793cbe70c01.tar.bz2
stable-diffusion-webui-gfx803-9c1eba2af3a6f9cd6282b3a367656793cbe70c01.zip
Fix lint
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 c5fe57bf..44d4038b 100644
--- a/modules/sd_models.py
+++ b/modules/sd_models.py
@@ -396,7 +396,7 @@ def load_model_weights(model, checkpoint_info: CheckpointInfo, state_dict, timer
enable_fp8 = True
elif model.is_sdxl and shared.cmd_opts.opt_unet_fp8_storage_xl:
enable_fp8 = True
-
+
if enable_fp8:
devices.fp8 = True
if devices.device == devices.cpu: