-
Notifications
You must be signed in to change notification settings - Fork 6k
NPU Adaption for FLUX #9751
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
NPU Adaption for FLUX #9751
Conversation
@yiyixuxu @sayakpaul Please let me know if there is any improvement for this PR, and thanks for your help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
can you run |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
@yiyixuxu I've fixed the code quality issue, please approve the workflow. Thanks |
@yiyixuxu Sorry about my mistake, could you please approve the workflow? Thanks |
hi @leisuzz see here https://huggingface.co/docs/diffusers/en/conceptual/contribution#how-to-open-a-pr |
@yiyixuxu Thanks for the information! |
Hi @yiyixuxu , |
@yiyixuxu |
Hi @yiyixuxu , |
@yiyixuxu @sayakpaul Could you please approve the workflow? Thanks for your help! |
Failing tests are unrelated. |
* NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX --------- Co-authored-by: 蒋硕 <jiangshuo9@h-partners.com>
* NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX * NPU implementation for FLUX --------- Co-authored-by: 蒋硕 <jiangshuo9@h-partners.com>
@yiyixuxu I'm not completely sure why we merged this PR with the following changes: I believe we should default to just the normal SDPA processors otherwise there is inconsistencies introduced. Users can already set custom attention processors, no? |
@a-r-r-o-w |
What does this PR do?
Implement Flash Attention for NPU machine
Add cleaning memory function for NPU machine
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.