cond cache

This commit is contained in:
Haoming 2025-10-13 15:57:51 +08:00
parent ad1ca5a80c
commit 5213740aba

View File

@ -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