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

Packed QKV and Rotary Embedding Support for sm<80 GQA #20012

Merged
merged 4 commits into from
Mar 23, 2024

Conversation

aciddelgado
Copy link
Contributor

Description

Add support for packed qkv input and rotary embedding with sm<80 using memory efficient attention kernel.

Motivation and Context

Allows lower-end gpus to run gqa with packed qkv input and rotary embedding.

tianleiwu
tianleiwu previously approved these changes Mar 22, 2024
@YUNQIUGUO YUNQIUGUO merged commit 4a196d1 into main Mar 23, 2024
95 checks passed
@YUNQIUGUO YUNQIUGUO deleted the aciddelgado/fix_rotary_memeff_gqa branch March 23, 2024 21:30
YUNQIUGUO pushed a commit that referenced this pull request Mar 25, 2024
### Description
Add support for packed qkv input and rotary embedding with sm<80 using
memory efficient attention kernel.



### Motivation and Context
Allows lower-end gpus to run gqa with packed qkv input and rotary
embedding.
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
### Description
Add support for packed qkv input and rotary embedding with sm<80 using
memory efficient attention kernel.



### Motivation and Context
Allows lower-end gpus to run gqa with packed qkv input and rotary
embedding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants