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

Split KV on MHA and Attention ops #18007

Merged
merged 6 commits into from
Nov 1, 2023
Merged

Split KV on MHA and Attention ops #18007

merged 6 commits into from
Nov 1, 2023

Conversation

aciddelgado
Copy link
Contributor

Description

Implement Split KV optimization for FlashAttention in MHA and Attention operators.

Motivation and Context

Can help further accelerate these ops.

@faxu faxu added triage:approved Approved for cherrypicks for release sdxl_llama labels Oct 25, 2023
@tianleiwu tianleiwu merged commit 819b5a3 into main Nov 1, 2023
@tianleiwu tianleiwu deleted the aciddelgado/mha_splitkv branch November 1, 2023 04:05
tianleiwu pushed a commit that referenced this pull request Nov 1, 2023
### Description
Implement Split KV optimization for FlashAttention in MHA and Attention
operators.

### Motivation and Context
Can help further accelerate these ops.
@tianleiwu tianleiwu removed triage:approved Approved for cherrypicks for release release:1.16.2 labels Nov 1, 2023
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
### Description
Implement Split KV optimization for FlashAttention in MHA and Attention
operators.

### Motivation and Context
Can help further accelerate these ops.
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

Successfully merging this pull request may close these issues.

3 participants