From 5213740abae81f4365f8a46129f141bf958cd03b Mon Sep 17 00:00:00 2001 From: Haoming Date: Mon, 13 Oct 2025 15:57:51 +0800 Subject: [PATCH] cond cache --- modules/processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/processing.py b/modules/processing.py index c42578ed..75bb5ec2 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -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