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

[Paddle Inference]support n lookup_tables fuse to embeddinglayernorm(1) #46230

Merged
merged 5 commits into from
Sep 20, 2022

Conversation

Wangzheee
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

支持 n 个lookup_tables输入的embedding_eltwise_layernorm融合:增加trt_embedding_eltwise_layernorm_fuse_pass, preln_embedding_eltwise_layernorm_fuse_pass的功能,增加EmbEltwiseLayernorm的Plugin和PrelnEmbEltwiseLayernorm的Plugin

@paddle-bot
Copy link

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

@Wangzheee Wangzheee changed the title [Paddle Inference]support n lookup_tables fuse to embeddinglayernorm(… [Paddle Inference]support n lookup_tables fuse to embeddinglayernorm(1) Sep 19, 2022
Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM for const_cast


namespace nvinfer1 {

class BasePlugin : public IPluginV2 {
Copy link
Contributor

Choose a reason for hiding this comment

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

为啥不用已有的IPluginV2Ext?

@Wangzheee Wangzheee merged commit 3441e5e into PaddlePaddle:develop Sep 20, 2022
zhoutianzi666 pushed a commit to zhoutianzi666/Paddle that referenced this pull request Sep 23, 2022
…1) (PaddlePaddle#46230)

* [Paddle Inference]support n lookup_tables fuse to embeddinglayernorm(1): add some funtion for embedding
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.

3 participants