diff --git a/modules/processing.py b/modules/processing.py index e6c49294..ad1a36fb 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -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