Fix issue with WAN VACE implementation. (#7724)

This commit is contained in:
comfyanonymous 2025-04-21 20:36:12 -07:00 committed by GitHub
parent 10a8518868
commit 5f31968bed

View File

@ -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)