Skip to content

Conversation

@Silv3S
Copy link
Member

@Silv3S Silv3S commented Nov 18, 2021

PR types

Bug fixes

PR changes

OPs

Describe

test_conv2d_transpose_mkldnn_op did not cover any case with grouped filter weights. Added two cases covering it. Tests failed because there was bug related to wrong channel division.

Example:
IOHW = [4, 3, 3, 3]
gOIHW = [2, 1, 4, 3, 3] (bug)
gOIHW = [2, 3, 2, 3, 3] (expected)

@paddle-bot-old
Copy link

paddle-bot-old bot commented Nov 18, 2021

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

@paddle-bot-old
Copy link

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

@Silv3S Silv3S closed this Nov 18, 2021
@Silv3S Silv3S reopened this Nov 18, 2021
@Silv3S Silv3S closed this Nov 27, 2021
@Silv3S Silv3S reopened this Nov 27, 2021
@Silv3S Silv3S marked this pull request as ready for review November 27, 2021 18:19
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

I reran some CI's for you as they seemed to be failing for weird reasons. LGTM.

Copy link
Contributor

@jczaja jczaja left a comment

Choose a reason for hiding this comment

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

LGTM

@Silv3S
Copy link
Member Author

Silv3S commented Nov 30, 2021

@jczaja please merge

@jczaja jczaja merged commit d93ee06 into PaddlePaddle:develop Nov 30, 2021
@Silv3S Silv3S deleted the gIOHW_unittest branch November 30, 2021 12:56
Zjq9409 pushed a commit to Zjq9409/Paddle that referenced this pull request Dec 10, 2021
…ePaddle#37344) * Add new unittests * Replace I with O channel for filter groups * Undo changes affecting other operators * Fix oneDNN namespace typo * Fix code format error
@lidanqing-vv lidanqing-vv changed the title Add new unittests for gIOHW format in conv_transpose_mkldnn_op [Bug fix] Add new unittests for gIOHW format in conv_transpose_mkldnn_op Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants