Better vace memory estimation. (#7875)

This commit is contained in:
comfyanonymous
2025-04-29 17:42:00 -07:00
committed by GitHub
parent 7ee96455e2
commit dbc726f80c
2 changed files with 5 additions and 0 deletions

View File

@@ -631,6 +631,7 @@ class VaceWanModel(WanModel):
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
del c_skip
# head
x = self.head(x, e)