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 1f3fba2af5
commit 3ab231f01f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)