Merge pull request #10451 from dennissheng/master

not clear checkpoints cache when config changes
This commit is contained in:
AUTOMATIC1111 2023-05-17 08:24:56 +03:00 committed by GitHub
commit 4071fa4a12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -540,7 +540,6 @@ def reload_model_weights(sd_model=None, info=None):
if sd_model is None or checkpoint_config != sd_model.used_config:
del sd_model
checkpoints_loaded.clear()
load_model(checkpoint_info, already_loaded_state_dict=state_dict)
return model_data.sd_model