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