mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-24 18:43:36 +08:00
free dynamic pins properly
This commit is contained in:
parent
101367b0da
commit
dff1ee9351
@ -1451,7 +1451,7 @@ class ModelPatcherDynamic(ModelPatcher):
|
|||||||
raise RuntimeError("unpin_weight invalid for dymamic weight loading")
|
raise RuntimeError("unpin_weight invalid for dymamic weight loading")
|
||||||
|
|
||||||
def unpin_all_weights(self):
|
def unpin_all_weights(self):
|
||||||
pass
|
self.partially_unload_ram(1e32)
|
||||||
|
|
||||||
def memory_required(self, input_shape):
|
def memory_required(self, input_shape):
|
||||||
#Pad this significantly. We are trying to get away from precise estimates. This
|
#Pad this significantly. We are trying to get away from precise estimates. This
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user