mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-07-21 21:01:24 +08:00
sd_model
This commit is contained in:
parent
fce4a3c03a
commit
b5c8bedb9f
@ -450,7 +450,8 @@ def forge_model_reload():
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
del model_data.sd_model
|
||||
model_data.sd_model = None
|
||||
model_data.forge_hash = ""
|
||||
memory_management.soft_empty_cache()
|
||||
gc.collect()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user