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

inference support mixed-precision model [1]. #43814

Merged
merged 8 commits into from
Jun 29, 2022

Conversation

jiweibo
Copy link
Contributor

@jiweibo jiweibo commented Jun 24, 2022

PR types

Others

PR changes

Others

Describe

Inference 增加模型类型转换能力及C++接口.

  • fp32格式可转为 fp16, bf16格式;
  • Paddle Inference 原生能够正常加载 fp16 格式的模型;
  • 加载 bf16格式模型,conv2d 算子报错,待跟进。

python转换脚本 #43881

@paddle-bot-old
Copy link

你的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.

@jiweibo jiweibo changed the title inference add convert to mixed model ability. inference support mixed-precision model [1]. Jun 28, 2022
Copy link
Member

@shangzhizhou shangzhizhou left a comment

Choose a reason for hiding this comment

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

LGTM

@jiweibo jiweibo merged commit c7694b8 into PaddlePaddle:develop Jun 29, 2022
@jiweibo jiweibo deleted the convert_model branch June 29, 2022 03:19
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