mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-13 13:05:07 +00:00
Added missing model.clone() call
This commit is contained in:
@@ -19,6 +19,7 @@ class MemoryReserveNode(io.ComfyNode):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def execute(cls, model: io.Model.Type, memory_reserve_gb: float) -> io.NodeOutput:
|
def execute(cls, model: io.Model.Type, memory_reserve_gb: float) -> io.NodeOutput:
|
||||||
|
model = model.clone()
|
||||||
model.add_model_memory_reserve(memory_reserve_gb)
|
model.add_model_memory_reserve(memory_reserve_gb)
|
||||||
return io.NodeOutput(model)
|
return io.NodeOutput(model)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user