Skip to content

How to use xformers to accelerate the computation of your defined IPAttnProcessor2_0? #13

Description

@SpadgerBoy

If I use the function '. enable_xformers_cemory_efficient-attention()' on the model, it always reports the following problem:
You are removing possibly trained weights of AttnProcessor2_0() with <diffusers.models.attention_processor.XFormersAttnProcessor object at 0x7fb624b2ebb0> You are removing possibly trained weights of IPAttnProcessor2_0( (to_k_ip): Linear(in_features=2048, out_features=640, bias=False) (to_v_ip): Linear(in_features=2048, out_features=640, bias=False) ) with <diffusers.models.attention_processor. XFormersAttnProcessor object at 0x7fb624b2e850>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions