-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Transfer MultiHeadAttention's matmul to v2 op #36222
Conversation
Thanks for your contribution! |
Sorry to inform you that 3a4c032's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please update the description. |
PR types
Others
PR changes
APIs
Describe
Transfer MultiHeadAttention to v2 op.
More performance information can be found according to QA report.
测试结论:
静态图、动态图均无无 5% 以上性能异常下降情况
动态图下: 8 卡性能下降最大的 case 为: transformer big bs4096 amp fp16: -3.55%
静态图下: 8 卡性能下降最大的 case 为: bert large seqlen512 fp32 bs10: -2.82%