From dff1ee9351e6552e5c408f0f1d3cde6afc6d333e Mon Sep 17 00:00:00 2001 From: Rattus Date: Tue, 27 Jan 2026 17:23:51 +1000 Subject: [PATCH] free dynamic pins properly --- comfy/model_patcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/model_patcher.py b/comfy/model_patcher.py index 1ef5b6661..6db41dfcf 100644 --- a/comfy/model_patcher.py +++ b/comfy/model_patcher.py @@ -1451,7 +1451,7 @@ class ModelPatcherDynamic(ModelPatcher): raise RuntimeError("unpin_weight invalid for dymamic weight loading") def unpin_all_weights(self): - pass + self.partially_unload_ram(1e32) def memory_required(self, input_shape): #Pad this significantly. We are trying to get away from precise estimates. This