From 3fcd22f2fe2be69c3229f192362b91888277cbcb Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:55:43 +0300 Subject: [PATCH] Revert this for now as old workflows get validation issues... --- nodes/image_nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/image_nodes.py b/nodes/image_nodes.py index aebd49d..f5dce86 100644 --- a/nodes/image_nodes.py +++ b/nodes/image_nodes.py @@ -2476,7 +2476,7 @@ class ImageResizeKJv2: "optional" : { "mask": ("MASK",), "device": (["cpu", "gpu"],), - "per_batch": ("INT", { "default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 1, "tooltip": "Process images in sub-batches to reduce memory usage. 0 disables sub-batching."}), + #"per_batch": ("INT", { "default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 1, "tooltip": "Process images in sub-batches to reduce memory usage. 0 disables sub-batching."}), }, "hidden": { "unique_id": "UNIQUE_ID", @@ -2495,7 +2495,7 @@ Keep proportions keeps the aspect ratio of the image, by highest dimension. """ - def resize(self, image, width, height, keep_proportion, upscale_method, divisible_by, pad_color, crop_position, unique_id, device="cpu", mask=None, per_batch=0): + def resize(self, image, width, height, keep_proportion, upscale_method, divisible_by, pad_color, crop_position, unique_id, device="cpu", mask=None, per_batch=64): B, H, W, C = image.shape if device == "gpu":