Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross_attention.py is deprecated; attention_processor.py should be used instead #13

Open
spejamas opened this issue May 2, 2024 · 1 comment

Comments

@spejamas
Copy link

spejamas commented May 2, 2024

ptp_utils.py imports CrossAttention from diffusers/models/cross_attention.py:

from diffusers.models.cross_attention import CrossAttention

But as of July 26 2023, cross_attention.py is deprecated; attention_processor.py should be used instead:

huggingface/diffusers#4299

@zjysteven
Copy link

I made a diffuser-compatible pipeline here https://github.com/huggingface/diffusers/tree/main/examples/community#stable-diffusion-boxdiff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants