Skip to content

[CANN]: add the basic supports of Flash Attention kernel #13627

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

shibizhao
Copy link

Dear authors,

This PR enhances the CANN backend with the FA kernel. Currently, it can only support the F16 KV tensors and no logit softcap. We have tested the kernel on Ascend 910B using test-op-backends.

Thanks.

@github-actions github-actions bot added documentation Improvements or additions to documentation ggml changes relating to the ggml tensor library for machine learning labels May 19, 2025
@shibizhao shibizhao changed the title cann: add the basic supports of Flash Attention kernel [CANN]: add the basic supports of Flash Attention kernel May 20, 2025
@hipudding hipudding self-requested a review May 20, 2025 06:06
@hipudding hipudding added the Ascend NPU issues specific to Ascend NPUs label May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ascend NPU issues specific to Ascend NPUs documentation Improvements or additions to documentation ggml changes relating to the ggml tensor library for machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants