From 3a3b5babf2eb9ca02d46874516472ce955acdb6e Mon Sep 17 00:00:00 2001 From: MagicBear Date: Fri, 4 Jul 2025 00:34:18 +0800 Subject: [PATCH] refactor(comfy/utils.py): remove unused variable --- comfy/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/comfy/utils.py b/comfy/utils.py index 5e16ae761..3c2bb04a2 100644 --- a/comfy/utils.py +++ b/comfy/utils.py @@ -965,7 +965,6 @@ def tiled_scale_multidim(samples, function, tile=(64, 64), overlap=8, upscale_am positions = [range(0, s.shape[d + 2] - overlap[d], tile[d] - overlap[d]) if s.shape[d + 2] > tile[d] else [0] for d in range(dims)] all_positions = list(itertools.product(*positions)) - total_positions = len(all_positions) if is_data_parallel: target_tile_size = (tile[0], tile[1]) # H, W