Added missing model.clone() call

This commit is contained in:
Jedrzej Kosinski
2025-08-18 14:51:11 -07:00
parent 34b1f51f4a
commit bae0c31a68

View File

@@ -19,6 +19,7 @@ class MemoryReserveNode(io.ComfyNode):
@classmethod
def execute(cls, model: io.Model.Type, memory_reserve_gb: float) -> io.NodeOutput:
model = model.clone()
model.add_model_memory_reserve(memory_reserve_gb)
return io.NodeOutput(model)