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

add reshape+transpose+matmul_v2 only #37847

Merged

Conversation

sfraczek
Copy link
Contributor

@sfraczek sfraczek commented Dec 3, 2021

PR types

Performance optimization

PR changes

Others

Describe

This is reshape+transpose+matmul_v2 fuse pass which is based on previous identical fuse for matmul_v1: #23754, this fuse will speedup bert-like models.

@paddle-bot-old
Copy link

paddle-bot-old bot commented Dec 3, 2021

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@paddle-bot-old
Copy link

paddle-bot-old bot commented Dec 3, 2021

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

@lidanqing-intel
Copy link
Contributor

This PR is to support issue #36461

Copy link
Contributor

@lidanqing-intel lidanqing-intel 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
Contributor

@jakpiase jakpiase left a comment

Choose a reason for hiding this comment

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

LGTM

@lidanqing-intel
Copy link
Contributor

@Aganlengzi Could you please review and merge this PR? The comments are as above

@Aganlengzi
Copy link
Contributor

This PR is to support issue #36461

@baoachun Please help confirm.

@baoachun
Copy link
Contributor

This PR is to support issue #36461

@baoachun Please help confirm.

This pr is related to the matmul pass adaptation after matmul upgrade matmul_v2.

Copy link
Contributor

@Aganlengzi Aganlengzi left a comment

Choose a reason for hiding this comment

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

LGTM

@Aganlengzi Aganlengzi merged commit a922168 into PaddlePaddle:develop Dec 14, 2021
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.

5 participants