mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 19:22:32 +00:00
Fix lint
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user