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] Migrate sgd and stack oneDNN kernels #46374

Merged
merged 4 commits into from
Sep 22, 2022

Conversation

piotrekobi
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

Migrates the following oneDNN operator fluid kernels to PHI:

  • sgd
  • stack

@paddle-bot
Copy link

paddle-bot bot commented Sep 21, 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.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Sep 21, 2022
@piotrekobi
Copy link
Contributor Author

@chenwhql Please review

@chenwhql chenwhql merged commit 4ae37ae into PaddlePaddle:develop Sep 22, 2022
Copy link
Contributor

@YuanRisheng YuanRisheng left a comment

Choose a reason for hiding this comment

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

@piotrekobi To prevent maintenance of duplicate codes, axpy_handler.h/cc should be deleted in Fluid,may be you need do it in next pr, thanks.

@piotrekobi
Copy link
Contributor Author

@YuanRisheng I left it there for now because paddle/fluid/operators/math/selected_rows_functor.cc uses it and I had to modify the PHI version slightly so it's not compatible with it. Once selected_rows_functor.cc gets deleted or migrated axpy_handler.h/cc can be deleted from fluid.

umiswing pushed a commit to umiswing/Paddle that referenced this pull request Sep 28, 2022
* Convert slice+grad oneDNN fluid kernels to PHI

* Change mutable_data to Alloc

* Refactor licences
Silv3S pushed a commit to Silv3S/Paddle that referenced this pull request Oct 3, 2022
* Convert slice+grad oneDNN fluid kernels to PHI

* Change mutable_data to Alloc

* Refactor licences
phlrain pushed a commit that referenced this pull request Oct 10, 2022
…6729)

* [PHI] Migrate sgd and stack oneDNN kernels (#46374)

* Convert slice+grad oneDNN fluid kernels to PHI

* Change mutable_data to Alloc

* Refactor licences

* update dependencies

Co-authored-by: Piotr Paturej <48731682+piotrekobi@users.noreply.github.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.

4 participants