mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-05 02:52:09 +08:00
Fix issue with WAN VACE implementation. (#7724)
This commit is contained in:
parent
1f3fba2af5
commit
3ab231f01f
@ -630,7 +630,7 @@ class VaceWanModel(WanModel):
|
|||||||
ii = self.vace_layers_mapping.get(i, None)
|
ii = self.vace_layers_mapping.get(i, None)
|
||||||
if ii is not 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)
|
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
|
# head
|
||||||
x = self.head(x, e)
|
x = self.head(x, e)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user