The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Remove dead code. (#14072)
comfyanonymousd80fcafee78a
diff --git a/comfy/samplers.py b/comfy/samplers.pyindex 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.Tensinput_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())