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

[Paddle-TRT] Implement MHA fp16 order same as training #32629

Merged
merged 4 commits into from
Apr 29, 2021

Conversation

zlsh80826
Copy link
Collaborator

PR types

Others

PR changes

OPs

Describe

[DEMO ONLY]
TRT MHA plugin change to apply scale before QK multiplication

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Apr 28, 2021
@PaddlePaddle PaddlePaddle unlocked this conversation Apr 28, 2021
shangzhizhou
shangzhizhou previously approved these changes Apr 28, 2021
Copy link
Member

@shangzhizhou shangzhizhou left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@shangzhizhou shangzhizhou left a comment

Choose a reason for hiding this comment

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

LGTM

@shangzhizhou shangzhizhou merged commit 75282e7 into PaddlePaddle:develop Apr 29, 2021
shangzhizhou pushed a commit to shangzhizhou/Paddle that referenced this pull request May 7, 2021
…32629)

* implement MHA order same as training

* fix fp16 compile issue on old architecture

* fix format

* fix format
Superjomn pushed a commit that referenced this pull request May 7, 2021
* implement MHA order same as training

* fix fp16 compile issue on old architecture

Co-authored-by: zlsh80826 <rewang@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants