Skip to content

WanVACETransformer3DModel does not inherit AttentionMixin while WanTransformer3DModel doesΒ #12186

@J4BEZ

Description

@J4BEZ

Hello,

While installing the latest version of diffusers from source and implementing a custom Wan VACE pipeline, I noticed a potential inconsistency that I hope may be helpful to point out.

WanTransformer3DModel inherits the following:
ModelMixin, ConfigMixin, PeftAdapterMixin, FromOriginalModelMixin, CacheMixin, and AttentionMixin. link

However, WanVACETransformer3DModel inherits all of the above except for AttentionMixin. link

This difference does not cause major issues for video generation or LoRA application, but when attempting to call the transformer.set_attn_processor() method in a custom pipeline, I encountered an error with WanVACETransformer3DModel, unlike WanTransformer3DModel.

Thank you very much for all the incredible work and dedication you put into maintaining the diffusers library, which makes it much easier for researchers and developers to enjoy working with generative models. Wishing you good health and a peaceful day ahead!

Regards, J4BEZ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions