Paddle ERNIE 3.0 int8 performance drop

ilmyapht  于 2022-12-31  发布在  其他
关注(0)|答案(2)|浏览(189)

问题描述 Please describe your issue

Commit: c3a6911
causes performance drop in ERNIE 3.0 int8 model.
It is connected with memory consumption increasing

CMAKE parameters:

-DCMAKE_BUILD_TYPE=Release -DWITH_GPU=OFF -DWITH_MKLDNN=ON -DWITH_TESTING=ON -DWITH_PROFILER=OFF -DWITH_STYLE_CHECK=OFF -DON_INFER=ON -DWITH_INFERENCE_API_TEST=ON -DPY_VERSION=3.6

Test run command:

FLAGS_use_mkldnn=true   /usr/bin/time -v  python /root/models/PaddleNLP/model_zoo/ernie-3.0/infer.py --task_name tnews --model_path /data/PaddlePaddle/pp_models/ernie3.0/int8 --perf --device cpu --num_threads 1 --enable_quantize
y3bcpkx1

y3bcpkx11#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档常见问题历史IssueAI社区 来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

whlutmcx

whlutmcx2#

Thank you for your feedback, we have received your question. @zhoutianzi666 Please pay attention to this issue. Thx.

相关问题