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

support advanced attention implementations (FA3, FlashInfer, xformers, etc.) #319

Open
feifeibear opened this issue Oct 25, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@feifeibear
Copy link
Collaborator

feifeibear commented Oct 25, 2024

The xdit with parallel degree>2 will execute the attention in the following line in unified SP. The exactly position to execute attention is in the ring_attention's implementation. Because USP applies the Ulysses outside of the Ring.

block_out, _, _, _, _, block_lse, _, _ = _flash_attn_forward(

@antferdom
Copy link

Tritonbench: [performance] Torch SDPA cuDNN backend vs FlashAttention v3 #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants