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

Multihead matmul fp16 #44792

Merged
merged 6 commits into from
Aug 2, 2022
Merged

Conversation

jiweibo
Copy link
Contributor

@jiweibo jiweibo commented Aug 1, 2022

PR types

Others

PR changes

Others

Describe

image

warmup=100, repetas=10000, T4

fp32: 0.489618ms
fp16: 0.342036ms

实现fp16过程中发现multihead_matmul原生实现部分是naive实现,存在优化空间。 TODO

Copy link
Contributor

@Wangzheee Wangzheee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

@jiweibo jiweibo merged commit 0fd8ee6 into PaddlePaddle:develop Aug 2, 2022
@jiweibo jiweibo deleted the multihead_matmul_fp16 branch August 2, 2022 13:14
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