-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
IPAdapter not compatible to torch.compile #7985
Labels
bug
Something isn't working
Comments
Thanks for sending over the patch, too. Would you like to take a stab at sending over a PR? |
Sure, PR on the way |
6 tasks
Closing with #7994 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When use IPAdapter with torch.compile will return error message below:
Due to the use of this line
https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/embeddings.py#L879
Which can be fixed with a patch like:
Reproduction
Logs
No response
System Info
diffusers
version: 0.28.0.dev0Who can help?
@sayakpaul @yiyixuxu
The text was updated successfully, but these errors were encountered: