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

Can not use flash-attention and flash-varlen-attention on Ascend NPU #36618

Open
FightingZhen opened this issue Mar 9, 2025 · 0 comments · May be fixed by #36696
Open

Can not use flash-attention and flash-varlen-attention on Ascend NPU #36618

FightingZhen opened this issue Mar 9, 2025 · 0 comments · May be fixed by #36696

Comments

@FightingZhen
Copy link

Transformers integrate flash-attention and flash-varlen-attention with package flash-attn, but this package is not supported on Ascend NPU, even can not be installed. In that case, we can not use flash-attention or flash-varlen-attention with transformers naturally.

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