From d80fcafee78a9453e89c21da41ecc815ad69a116 Mon Sep 17 00:00:00 2001 From: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com> Date: Fri, 22 May 2026 19:56:36 -0700 Subject: [PATCH] Remove dead code. (#14072) --- comfy/samplers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/comfy/samplers.py b/comfy/samplers.py index 0a4d062db..c5e36ff05 100755 --- a/comfy/samplers.py +++ b/comfy/samplers.py @@ -265,7 +265,6 @@ def _calc_cond_batch(model: BaseModel, conds: list[list[dict]], x_in: torch.Tens input_shape = [len(batch_amount) * first_shape[0]] + list(first_shape)[1:] cond_shapes = collections.defaultdict(list) for tt in batch_amount: - cond = {k: v.size() for k, v in to_run[tt][0].conditioning.items()} for k, v in to_run[tt][0].conditioning.items(): cond_shapes[k].append(v.size())