Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix model and cond transformer options merge

logtde1cb93c3835a
diff --git a/comfy/samplers.py b/comfy/samplers.py
index 9c45eb605..491c95d39 100644
--- a/comfy/samplers.py
+++ b/comfy/samplers.py
@@ -208,6 +208,7 @@ def calc_cond_uncond_batch(model, cond, uncond, x_in, timestep, model_options):
cur_patches[p] = cur_patches[p] + patches[p]
else:
cur_patches[p] = patches[p]
+ transformer_options["patches"] = cur_patches
else:
transformer_options["patches"] = patches