Skip to content

Conversation

@jakpiase
Copy link
Contributor

@jakpiase jakpiase commented Jul 2, 2021

PR types

Bug fixes

PR changes

OPs

Describe

Fixed bug that was occuring when AVX2 instruction set was used. In that scenario blocking format was chosen and split op doesn't support that. It is a fix for #33918

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jul 2, 2021

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

Copy link
Contributor

@arlesniak arlesniak 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

@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

Without oneDNN split op, #33918 will be slower than naive version? Did you test #33918 with your PR ?

@lidanqing-vv
Copy link
Contributor

#33944 will solve this error on AVX2. But testing this model on AVX2 environment may not speedup as good as on AVX512 (6148 itself suppots AVX512). Because oneDNN improve very well on AVX512. But in AVX2, some oneDNN op will call reference version (slower).

So to achieve expected performance, please use avx512. But this fix will solve error on AVX2.

@juncaipeng Please approve and merge this PR

Copy link
Contributor

@juncaipeng juncaipeng left a comment

Choose a reason for hiding this comment

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

LGTM

@juncaipeng juncaipeng merged commit a0666b9 into PaddlePaddle:develop Jul 7, 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.

4 participants