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

[AMP]fix embedding model weight type mismatch error #53770

Merged

Conversation

shaojiewang
Copy link
Contributor

PR types

Others

PR changes

Others

Description

Pcard-70458
add cast for embedding weight in O2 mode

@paddle-bot
Copy link

paddle-bot bot commented May 12, 2023

你的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
Copy link

paddle-bot bot commented May 12, 2023

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

@shaojiewang shaojiewang changed the title fix embedding model weight type mismatch error [AMP]fix embedding model weight type mismatch error May 12, 2023
@zhangting2020 zhangting2020 merged commit 848deec into PaddlePaddle:develop May 15, 2023
shaojiewang added a commit to shaojiewang/Paddle that referenced this pull request May 15, 2023
* fix embedding model weight type mismatch error

* Update fp16_utils.py

---------

Co-authored-by: Zhang Ting <zhangting_2017@163.com>
lanxianghit pushed a commit that referenced this pull request May 16, 2023
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