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-TRT] fix_ernie #44502

Closed

Conversation

zhoutianzi666
Copy link
Contributor

@zhoutianzi666 zhoutianzi666 commented Jul 21, 2022

PR types

Others

PR changes

Others

Describe

pr1提交后,,导致ernie模型出错。

  • check后发现是pr1之前的fc的trt转换存在bug
    • 在pr1之前:4维的输入,in_num_col_dims为1,paddle应输出2维,但fc的trt转换逻辑迫使他输出4维,skip_layernorm默认自己得到4维
    • pr1删掉了【但fc的trt转换逻辑迫使他输出4维】这部分代码。
    • pr1提交后,skip_layernorm仍认为自己得到4维,实际只能得到2维。
    • 因此pr1提交后,因修正skip_layernorm的输入维度,即此pr之用。

@paddle-bot
Copy link

paddle-bot bot commented Jul 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 Jul 21, 2022
@luotao1 luotao1 removed the contributor External developers label Mar 14, 2023
@paddle-bot paddle-bot bot closed this Sep 3, 2024
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