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

Register exp/expm1/logit bf16 activation op kernels #48702

Merged
merged 2 commits into from
Dec 5, 2022

Conversation

sneaxiy
Copy link
Collaborator

@sneaxiy sneaxiy commented Dec 4, 2022

PR types

Function optimization

PR changes

OPs

Describe

Register bfloat16 kernel for exp, expm1 and logit.

@paddle-bot
Copy link

paddle-bot bot commented Dec 4, 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.

@sneaxiy sneaxiy changed the title Register more bf16 activation op kernels Register exp/expm1/logit bf16 activation op kernels Dec 4, 2022
@sneaxiy sneaxiy requested a review from FeixLiu December 5, 2022 00:58
Copy link
Contributor

@FeixLiu FeixLiu left a comment

Choose a reason for hiding this comment

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

LGTM

@sneaxiy sneaxiy merged commit d1e2ba8 into PaddlePaddle:develop Dec 5, 2022
@sneaxiy sneaxiy deleted the register_more_bf16_ops branch December 5, 2022 08:33
lxsbupt pushed a commit to lxsbupt/Paddle that referenced this pull request Dec 17, 2022
* register more bf16 ops

* update to register coresponding backward ops
Xreki pushed a commit to Xreki/Paddle that referenced this pull request Apr 6, 2023
* register more bf16 ops

* update to register coresponding backward ops
aoyulong pushed a commit that referenced this pull request Apr 9, 2023
* Register exp/expm1/logit bf16 activation op kernels (#48702)

* register more bf16 ops

* update to register coresponding backward ops

* Addition of bf16 type support for Compare OP  (#46413)

* first commit

* clarify the quotes

* change code style format

* support bfloat16

* add bfloat16 support for more ops (#48272)

* [Bfloat16]register bfloat16 datatype for squared l2 norm (#50908)

* Sync the pull request #51903.

* Add some header files back.

* modify cmake file for cuda11.8 compile (#49020)

* modify cmake file for cuda11.8 compile

* add op_library(fused_embedding_eltwise_layernorm_op DEPS bert_encoder_functor)

* Fix compling error.

* Cherry-pick pull request #51396.

---------

Co-authored-by: sneaxiy <32832641+sneaxiy@users.noreply.github.com>
Co-authored-by: limingshu <61349199+JamesLim-sy@users.noreply.github.com>
Co-authored-by: Shaojie WANG <wsjmessi@163.com>
Co-authored-by: zqw_1997 <118182234+zhengqiwen1997@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants