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

[CHERRY-PICK] Fix for matmul_v2 oneDNN op broadcasting when inputs dims have different lengths #38733

Merged

Conversation

jakpiase
Copy link
Contributor

@jakpiase jakpiase commented Jan 5, 2022

PR types

Bug fixes

PR changes

OPs

Describe

Fix for matmul_v2 oneDNN op broadcasting when inputs dims have different lengths. It fixes that scenario for both FWD and BWD kernels. I have also added UTs that are covering these different input lenght broadcasting scenarios. It is a fix for #38626. I have tested "test_mkldnn_matmulv2.py" file and every test is passing after my changes. It is a cherry-pick of #38665

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jan 5, 2022

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

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

@jakpiase
Copy link
Contributor Author

jakpiase commented Jan 5, 2022

@baoachun, could you please approve this cherry-pick PR?

Copy link
Contributor

@baoachun baoachun left a comment

Choose a reason for hiding this comment

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

LGTM

@Superjomn Superjomn merged commit 1e8432f into PaddlePaddle:release/2.2 Jan 6, 2022
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.

4 participants