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

[Bug fix] Add new unittests for gIOHW format in conv_transpose_mkldnn_op #37344

Merged
merged 7 commits into from
Nov 30, 2021

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-intel lidanqing-intel 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants