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

[PHI] Revert pool and pool_grad oneDNN kernel conversion #45989

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

piotrekobi
Copy link
Contributor

@piotrekobi piotrekobi commented Sep 13, 2022

PR types

Others

PR changes

Others

Describe

Reverts the conversion of the pool2d fluid oneDNN kernel to PHI based on feedback from #45954. Converting this op without using the is_test argument caused up to a 3x performance decrease in some models, so it should be reverted as soon as possible.

@paddle-bot
Copy link

paddle-bot bot commented Sep 13, 2022

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

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

@paddle-bot-old paddle-bot-old bot added the contributor External developers label Sep 13, 2022
@jczaja jczaja added the Intel label Sep 15, 2022
@piotrekobi
Copy link
Contributor Author

@chenwhql Please merge

@paddle-bot-old paddle-bot-old bot added contributor External developers and removed contributor External developers labels Sep 15, 2022
@piotrekobi piotrekobi requested review from jczaja and chenwhql and removed request for jczaja and chenwhql September 19, 2022 09:53
@piotrekobi piotrekobi requested review from jczaja and removed request for chenwhql September 21, 2022 08:02
@jczaja jczaja merged commit dc31d2a into PaddlePaddle:develop Sep 21, 2022
@paddle-bot
Copy link

paddle-bot bot commented Sep 21, 2022

你的PR已合入Paddle库,请关注后续测试结果。
Your PR has been merged into the repository. An official integration test will be conducted later. Stay tuned.

Silv3S pushed a commit to Silv3S/Paddle that referenced this pull request Oct 10, 2022
phlrain pushed a commit that referenced this pull request Oct 11, 2022
Co-authored-by: Piotr Paturej <48731682+piotrekobi@users.noreply.github.com>
phlrain pushed a commit that referenced this pull request Oct 13, 2022
* Revert pool+grad oneDNN kernel conversion (#45989)

* [PHI] transpose2_grad op migration (#46139)

* op migrated, Copy(OneDNNContext, ...) added

* mutable_data & op registration in fluid removed

* refactoring

* OneDNNGetDataType to uppercase

* missing cpu check added, handler moved to .h file

* name changed to transpose_grad

* Copy changed back to TensorCopy

* Resizing corrected, Copy(OneDNNContext) removed

Co-authored-by: Piotr Paturej <48731682+piotrekobi@users.noreply.github.com>
Co-authored-by: Paulina Gacek <paulina.gacek@intel.com>
@paddle-bot-old paddle-bot-old bot removed the contributor External developers label Oct 17, 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