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

Distributed Attention Methods #44

Open
tsrikris opened this issue Sep 20, 2024 · 1 comment
Open

Distributed Attention Methods #44

tsrikris opened this issue Sep 20, 2024 · 1 comment

Comments

@tsrikris
Copy link

tsrikris commented Sep 20, 2024

Do you have plans to enable distributed attention methods (Ring Attention, Striped Attention, Tree Attention, etc.) via a FlexAttention-like interface? Most of the functional implementations today are on JAX.

@drisspg
Copy link
Contributor

drisspg commented Oct 1, 2024

It should be possible to build to use FlexAttention as a component in many of these algorithms, we have an arg to "return_lse" which is typically required to merge different attention chunks. We would accept + add an example showing how to do this

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

No branches or pull requests

2 participants