mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-06-06 23:34:53 +00:00
Fix dist vace fwd hook error
This commit is contained in:
parent
3fc0ac9adc
commit
58059485c7
@ -87,9 +87,10 @@ def usp_dit_forward_vace(
|
|||||||
c, get_sequence_parallel_world_size(),
|
c, get_sequence_parallel_world_size(),
|
||||||
dim=1)[get_sequence_parallel_rank()]
|
dim=1)[get_sequence_parallel_rank()]
|
||||||
|
|
||||||
|
hints = []
|
||||||
for block in self.vace_blocks:
|
for block in self.vace_blocks:
|
||||||
c = block(c, **new_kwargs)
|
c, c_skip = block(c, **new_kwargs)
|
||||||
hints = torch.unbind(c)[:-1]
|
hints.append(c_skip)
|
||||||
return hints
|
return hints
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user