The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Try to clear more memory at the end of each prompt execution.
comfyanonymouscd85f876f214
diff --git a/execution.py b/execution.pyindex e67ca8675..69761eb06 100644--- a/execution.py+++ b/execution.py@@ -5,6 +5,7 @@ import jsonimport threadingimport heapqimport traceback+import gcimport torchimport nodes@@ -187,7 +188,10 @@ class PromptExecutor:if self.server.client_id is not None:self.server.send_sync("executing", { "node": None }, self.server.client_id)+ gc.collect()torch.cuda.empty_cache()+ torch.cuda.ipc_collect()+def validate_inputs(prompt, item):unique_id = item