Paddle
Paddle copied to clipboard
推荐模型使用MKLDNN加速后,预测速度变慢
我搭建了一个embedding+三层fc+relu的推荐系统模型。依赖厂内的预编译库baidu/lib/[email protected]_PD_BL做预测。遇到如下问题:
- 打开优化config->SwitchIrOptim(true)后,打开MKLDNN(config->EnableMKLDNN()),网络预测速度在个人开发机上测试为0.7ms左右。关闭MKLDNN,网络预测速度在个人开发机上测试为0.4ms左右;
- 关闭优化后,无论是否打开MKLDNN,网络预测速度为0.5ms左右
请问这种情况是否正常?为何会出现这种情况?
由于模型和特征涉及到公司业务,不方便把它放在git上,相关人员可以和本人私聊提供可复现代码
你好,内部用户,可以统一发到预测服务群里提问
你好,内部用户,可以统一发到预测服务群里提问
之前发过,应相关的同学要求,在这里提了issue
额,我刚问的预测相关的同学,内部用户现在不需要在github issue上提了,统一发到预测服务群。看群里有同学能帮忙解决下么
Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。