mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-01 03:03:00 +08:00
Fix lint
This commit is contained in:
parent
eaa9f5162f
commit
9c1eba2af3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user