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

Move fused_attention and fused_feedforward functional api path to incubate #36704

Conversation

limin2021
Copy link
Contributor

@limin2021 limin2021 commented Oct 25, 2021

PR types

Function optimization

PR changes

APIs

Describe

#35905#35843 PR中新增的的python api接口移到incubate目录下。

修改后,fused_attention_op的单测结果:
image

fused_feedforward_op的单测结果:
image

limin2021 and others added 30 commits September 22, 2021 05:01
@paddle-bot-old
Copy link

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

xingfeng01
xingfeng01 previously approved these changes Oct 25, 2021
zkh2016
zkh2016 previously approved these changes Oct 25, 2021
@limin2021 limin2021 dismissed stale reviews from zkh2016 and xingfeng01 via 753abc5 October 25, 2021 12:39
@lanxianghit lanxianghit merged commit 9aeca2f into PaddlePaddle:develop Oct 26, 2021
zkh2016 pushed a commit to zkh2016/Paddle that referenced this pull request Oct 26, 2021
lanxianghit pushed a commit that referenced this pull request Oct 26, 2021
* add op: fused_feedforward(backward) (#35611)

这个PR是fused_feedforward反向的代码

相关kernel实现:fused_dropout_act_bias, fused_residual_dropout_bias, fused_layernorm_residual_dropout_bias

fused_feedforward是一个融合算子,该算子对transformer模型的feed forward层的算子进行融合和封装,使得前端只呈现一个接口,通过融合减少部分访存和kernel launch的时间,以此提升性能。

* Move fused_attention and fused_feedforward functional api path to incubate (#36704)

将 #35905#35843 PR中新增的的python api接口移到incubate目录下。
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.

5 participants