more changes for #13865: fix formatting, rename the function, add comment and add a readme entry

This commit is contained in:
AUTOMATIC1111
2023-11-05 19:46:20 +03:00
parent 80d639a440
commit 6ad666e479
3 changed files with 15 additions and 12 deletions

View File

@@ -357,7 +357,7 @@ def load_model_weights(model, checkpoint_info: CheckpointInfo, state_dict, timer
sd_models_xl.extend_sdxl(model)
if model.is_ssd:
sd_hijack.model_hijack.conv_ssd(model)
sd_hijack.model_hijack.convert_sdxl_to_ssd(model)
if shared.opts.sd_checkpoint_cache > 0:
# cache newly loaded model