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

Parallel Transpose_BSNH_to_BNSH #19406

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Conversation

yihonglyu
Copy link
Contributor

Achieved a speedup of 1.098 in MultiHeadAttention and an end-to-end speedup of 1.021 in the OCR model through parallelization of the Transpose_BSNH_to_BNSH operation.

Achieved a speedup of 1.098 in MultiHeadAttention and an end-to-end speedup of
1.021 in the OCR model through parallelization of the Transpose_BSNH_to_BNSH
operation.
@yihonglyu yihonglyu requested review from a team, chenfucn, edgchen1 and yufenglee February 4, 2024 05:06
@tianleiwu tianleiwu merged commit ec0e4d3 into main Feb 29, 2024
94 checks passed
@tianleiwu tianleiwu deleted the yilyu/parallel-transpose-bsnh-to-bnsh branch February 29, 2024 18:31
zz002 pushed a commit to zz002/onnxruntime that referenced this pull request Mar 7, 2024
Achieved a speedup of 1.098 in MultiHeadAttention and an end-to-end
speedup of 1.021 in the OCR model through parallelization of the
Transpose_BSNH_to_BNSH operation.
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.

2 participants