Skip to content

Conversation

@jakpiase
Copy link
Contributor

@jakpiase jakpiase commented Jan 3, 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

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jan 3, 2022

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

@jakpiase jakpiase added the Intel label Jan 3, 2022
@lidanqing-vv
Copy link
Contributor

@baoachun Please review this PR.

@baoachun
Copy link
Contributor

baoachun commented Jan 4, 2022

Please see the latest comment in #38626

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

@lidanqing-vv lidanqing-vv self-requested a review January 5, 2022 02:59
Copy link
Contributor

@lidanqing-vv lidanqing-vv 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-vv
Copy link
Contributor

@Aganlengzi Could you please merge this PR. Baoachun has approved.

@Aganlengzi Aganlengzi merged commit 6792312 into PaddlePaddle:develop Jan 5, 2022
@baoachun
Copy link
Contributor

baoachun commented Jan 5, 2022

Hi @jakpiase, could you please cherry-pick this pr to branch 2.2 ? Thanks.

@lidanqing-vv lidanqing-vv changed the title Fix for matmul_v2 oneDNN op broadcasting when inputs dims have different lengths [Bug fix] Fix for matmul_v2 oneDNN op broadcasting when inputs dims have different lengths Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 participants