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

Cross Attention variant? #13

Open
Xynonners opened this issue May 2, 2024 · 1 comment
Open

Cross Attention variant? #13

Xynonners opened this issue May 2, 2024 · 1 comment

Comments

@Xynonners
Copy link

Hi there,

Sorry if this is a stupid issue but I was wondering if it would be possible to apply Ring Attention to Cross Attention? I was thinking of using RingFlashAttentionCUDAFunction directly but it seems like the transformer block itself has modifications.

Thanks

@lucidrains
Copy link
Owner

@Xynonners hey, it is a good question and i'm still thinking about how to approach it

i think it ties together with inference w/ kv caching, so i'll prob get a solution out for both around the same time

can keep this issue open until then

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