diff --git a/invokeai/backend/model_manager/load/model_cache/model_cache_default.py b/invokeai/backend/model_manager/load/model_cache/model_cache_default.py index 14e7482050..2ba52d466c 100644 --- a/invokeai/backend/model_manager/load/model_cache/model_cache_default.py +++ b/invokeai/backend/model_manager/load/model_cache/model_cache_default.py @@ -273,7 +273,7 @@ class ModelCache(ModelCacheBase[AnyModel]): snapshot_before = self._capture_memory_snapshot() try: cache_entry.model.to(target_device) - except RuntimeError as e: # blow away cache entry + except Exception as e: # blow away cache entry self._delete_cache_entry(cache_entry) raise e