mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-07-21 21:01:24 +08:00
cache
This commit is contained in:
parent
e40900cd8b
commit
3a3c9e1848
@ -787,6 +787,7 @@ def manage_model_and_prompt_cache(p: StableDiffusionProcessing):
|
||||
|
||||
if need_global_unload and not just_reloaded:
|
||||
memory_management.unload_all_models()
|
||||
p.clear_prompt_cache()
|
||||
|
||||
need_global_unload = False
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user