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

[cherry-pick] update dygraph PTQ export_model api #47415

Merged
merged 2 commits into from
Oct 31, 2022

Conversation

yghstill
Copy link
Contributor

@yghstill yghstill commented Oct 27, 2022

PR types

Bug fixes

PR changes

APIs

Describe

cherry-pick #47284 : update dygraph PTQ export_model API to support PaddleSpeech model.

  • Unquantized ops will not set the the out_threshold attribute.

@paddle-bot
Copy link

paddle-bot bot commented Oct 27, 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.

Copy link
Contributor

@momozi1996 momozi1996 left a comment

Choose a reason for hiding this comment

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

paddle.fluid.contrib.slim.quantization.imperative 底下的英文文档缺少很多必备的参数说明,代码等。

momozi1996
momozi1996 previously approved these changes Oct 28, 2022
Copy link
Contributor

@momozi1996 momozi1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@yghstill
Copy link
Contributor Author

paddle.fluid.contrib.slim.quantization.imperative 底下的英文文档缺少很多必备的参数说明,代码等。

API注释文档在本PR中无改动,只修改一个参数名和注释不对应问题(configs->config)。关于文档问题,迁移至正式路径后会统一修改完善。

Copy link
Contributor

@momozi1996 momozi1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@qingqing01 qingqing01 merged commit 12b9b03 into PaddlePaddle:release/2.4 Oct 31, 2022
@yghstill yghstill deleted the cp_update_dygraph_ptq branch October 31, 2022 06:09
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.

4 participants