mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 12:22:26 -08:00
Merge 6172e16572 into fd68e0c384
This commit is contained in:
commit
b8e054db86
1 changed files with 1 additions and 1 deletions
|
|
@ -952,7 +952,7 @@ def reload_model_weights(sd_model=None, info=None, forced_reload=False):
|
|||
|
||||
if sd_model is not None:
|
||||
sd_unet.apply_unet("None")
|
||||
send_model_to_cpu(sd_model)
|
||||
send_model_to_device(sd_model)
|
||||
sd_hijack.model_hijack.undo_hijack(sd_model)
|
||||
|
||||
state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue