We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d710e59 commit bc7a833Copy full SHA for bc7a833
src/diffusers/pipelines/wan/pipeline_wan_i2v.py
@@ -675,7 +675,7 @@ def __call__(
675
negative_prompt_embeds = negative_prompt_embeds.to(transformer_dtype)
676
677
# only wan 2.1 i2v transformer accepts image_embeds
678
- if self.transformer is not None and self.transformer.config.added_kv_proj_dim is not None:
+ if self.transformer is not None and self.transformer.config.image_dim is not None:
679
if image_embeds is None:
680
if last_image is None:
681
image_embeds = self.encode_image(image, device)
0 commit comments