The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Increase maximum batch sizes of empty image nodes.
comfyanonymous42f6d1ebe2b1
diff --git a/nodes.py b/nodes.pyindex 4739977e4..fbe1ee1cb 100644--- a/nodes.py+++ b/nodes.py@@ -891,7 +891,7 @@ class EmptyLatentImage:def INPUT_TYPES(s):return {"required": { "width": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8}),"height": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8}),- "batch_size": ("INT", {"default": 1, "min": 1, "max": 64})}}+ "batch_size": ("INT", {"default": 1, "min": 1, "max": 1024})}}RETURN_TYPES = ("LATENT",)FUNCTION = "generate"@@ -1503,7 +1503,7 @@ class EmptyImage:def INPUT_TYPES(s):return {"required": { "width": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}),"height": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}),- "batch_size": ("INT", {"default": 1, "min": 1, "max": 64}),+ "batch_size": ("INT", {"default": 1, "min": 1, "max": 1024}),"color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}),}}RETURN_TYPES = ("IMAGE",)