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 issue with WAN VACE implementation. (#7724)

comfyanonymous3ab231f01f26
diff --git a/comfy/ldm/wan/model.py b/comfy/ldm/wan/model.py
index 4ef86d5f2..b8eec3afb 100644
--- a/comfy/ldm/wan/model.py
+++ b/comfy/ldm/wan/model.py
@@ -630,7 +630,7 @@ class VaceWanModel(WanModel):
ii = self.vace_layers_mapping.get(i, None)
if ii is not None:
c_skip, c = self.vace_blocks[ii](c, x=x_orig, e=e0, freqs=freqs, context=context, context_img_len=context_img_len)
- x += c_skip * vace_strength
+ x += c_skip * vace_strength
# head
x = self.head(x, e)