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 RWKV beat Flash Attention? #235

Open
yxchng opened this issue Apr 13, 2024 · 1 comment
Open

Can RWKV beat Flash Attention? #235

yxchng opened this issue Apr 13, 2024 · 1 comment

Comments

@yxchng
Copy link

yxchng commented Apr 13, 2024

I have been experimenting with RWKV v4 and v4neo but somehow it is using much more memory (about 2x) than my LM that uses Flash Attention. Not sure what I am doing wrong. Is this expected?

@BlinkDL
Copy link
Owner

BlinkDL commented Apr 16, 2024

Try v5 first. What's your model size, bsz, ctxlen

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