From eb476e6ea9f306503472c75f2cd3c62683f73d88 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Mon, 11 Nov 2024 14:44:19 -0500 Subject: [PATCH] Allow 1D masks for 1D latents. --- comfy/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/comfy/utils.py b/comfy/utils.py index 3c5d06a4..04926c1e 100644 --- a/comfy/utils.py +++ b/comfy/utils.py @@ -853,6 +853,7 @@ def reshape_mask(input_mask, output_shape): dims = len(output_shape) - 2 if dims == 1: + mask = input_mask scale_mode = "linear" if dims == 2: