freecui

Results 31 comments of freecui

INFO: 08-04 16:25:25: inference.py:53 * 140495399245632 init env, build inference.... INFO: 08-04 16:25:25: inference.py:94 * 140495399245632 cpu inference.... E0804 16:25:25.154521 20984 analysis_config.cc:610] EnableMKLDNN() only works when IR optimization is enabled....

代码分支拉取的是:ernie-open-v1.0 ![Uploading image.png…]()

已经更改了为 config.switch_ir_optim(True)进行测试,但是没有什么帮助,依然报之前的错误

同问,我下载http://bj.bcebos.com/wenxin-models/ernie_3.0_base_ch_open.tgz出来的也没 ![image](https://user-images.githubusercontent.com/8288975/181417834-0b48bd71-ff56-4c6e-9cd9-1f2ef6c7f8d8.png)

发现就是从这里paddle_infer.create_predictor,入错的

代码行出错在inference.py文件中的:predictor = paddle_infer.create_predictor(config);然后不管用gpu还是cpu跑都是同样的错误