This commit is contained in:
Haoming 2026-05-05 17:43:38 +08:00
parent e40900cd8b
commit 3a3c9e1848

View File

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