tensor shape mismatching for SD3 basic pipeline with xformers #9681
Unanswered
shenzhiy21
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think we will be removing xformers support going forward in a future release, so support for it is not guaranteed to work out-of-the-box with newer models. This does look xformers-specific so I suspect it is due to us not having a SD3-specific xformers attention processor. It should be quite simple to create your own and use it by modifying the code here. Once you have created the attention processor, you can set it using: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm new to
diffusers
and I tried to enablexformers
for SD3 inference speedup.The error msg:
After removing this line
everything would work perfectly as expected.
I'm not sure if
xformers
doesn't support SD3 models. Thanks for helping me with this!Beta Was this translation helpful? Give feedback.
All reactions