From d175cbd3151e97dbfdfa701e59211e0a14d75f01 Mon Sep 17 00:00:00 2001 From: drhead <1313496+drhead@users.noreply.github.com> Date: Sun, 9 Mar 2025 19:57:51 -0400 Subject: [PATCH] fix syntax --- comfy/conds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comfy/conds.py b/comfy/conds.py index e643d6830..5fac44ef5 100644 --- a/comfy/conds.py +++ b/comfy/conds.py @@ -19,9 +19,9 @@ class CONDRegular: def process_cond(self, batch_size, device, **kwargs): if device_should_use_non_blocking(device): - return self._copy_with(comfy.utils.repeat_to_batch_size(self._pin_memory(self.cond), batch_size).to(device, non_blocking=True) + return self._copy_with(comfy.utils.repeat_to_batch_size(self._pin_memory(self.cond), batch_size).to(device, non_blocking=True)) else: - return self._copy_with(comfy.utils.repeat_to_batch_size(self.cond, batch_size).to(device) + return self._copy_with(comfy.utils.repeat_to_batch_size(self.cond, batch_size).to(device)) def can_concat(self, other): if self.cond.shape != other.cond.shape: