Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

add new function ptq first then initialize qat scale with ptq scale

Open ZhangHandi opened this issue 2 years ago • 1 comments

PR types

New features

PR changes

APIs

Describe

instead of save ptq model, then load it before qat, now we can initialize qat scale directly with ptq scale. Two variable are added in config, 'quant_post_first' decides whether ptq first, 'scale_trainable' decides whether to train scale during qat.

ZhangHandi avatar Jul 30 '22 08:07 ZhangHandi

你的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[bot] avatar Jul 30 '22 08:07 paddle-bot[bot]