From f743a03bc9f963957be261cbb6fb4ad099077fc8 Mon Sep 17 00:00:00 2001 From: Isi Date: Fri, 5 Sep 2025 19:21:33 +0100 Subject: [PATCH] Update delete_model_passthrough.py --- delete_model_passthrough.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/delete_model_passthrough.py b/delete_model_passthrough.py index 95e76e8..8ffd6ec 100644 --- a/delete_model_passthrough.py +++ b/delete_model_passthrough.py @@ -349,8 +349,7 @@ class DeleteModelPassthroughLight: print(f"Removed target model from tracking") except Exception as e: print(f"Error removing from tracking: {e}") - - # ✅ CRITICAL FIX: Only free the specific model, not all models! + # Don't use free_memory() with huge values as it will delete other models # Instead, manually free only our target model