diff --git a/modules/models.py b/modules/models.py index f12e700c..4b47e649 100644 --- a/modules/models.py +++ b/modules/models.py @@ -326,6 +326,7 @@ def clear_torch_cache(): def unload_model(): shared.model = shared.tokenizer = None + shared.lora_names = [] clear_torch_cache()