Commit 9c1eba2a authored by Kohaku-Blueleaf's avatar Kohaku-Blueleaf

Fix lint

parent eaa9f516
...@@ -396,7 +396,7 @@ def load_model_weights(model, checkpoint_info: CheckpointInfo, state_dict, timer ...@@ -396,7 +396,7 @@ def load_model_weights(model, checkpoint_info: CheckpointInfo, state_dict, timer
enable_fp8 = True enable_fp8 = True
elif model.is_sdxl and shared.cmd_opts.opt_unet_fp8_storage_xl: elif model.is_sdxl and shared.cmd_opts.opt_unet_fp8_storage_xl:
enable_fp8 = True enable_fp8 = True
if enable_fp8: if enable_fp8:
devices.fp8 = True devices.fp8 = True
if devices.device == devices.cpu: if devices.device == devices.cpu:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment