mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-06-05 14:54:54 +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(),
|
||||
dim=1)[get_sequence_parallel_rank()]
|
||||
|
||||
hints = []
|
||||
for block in self.vace_blocks:
|
||||
c = block(c, **new_kwargs)
|
||||
hints = torch.unbind(c)[:-1]
|
||||
c, c_skip = block(c, **new_kwargs)
|
||||
hints.append(c_skip)
|
||||
return hints
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user