Skip to content

Commit 5a05e75

Browse files
authored
Fixes mismatched number of output arguments (#315)
In #306 the return of WanTimeTextImageEmbedding was modified to include a 5th element. This refactors the call in WanVACEModel to comply with the new interface
1 parent f9b6ff9 commit 5a05e75

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/maxdiffusion/models/wan/transformers/transformer_wan_vace.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ def __call__(
474474
timestep_proj,
475475
encoder_hidden_states,
476476
encoder_hidden_states_image,
477+
_,
477478
) = self.condition_embedder( # We will need to mask out the text embedding.
478479
timestep, encoder_hidden_states, encoder_hidden_states_image
479480
)

0 commit comments

Comments
 (0)