Paddle-Inference-Demo icon indicating copy to clipboard operation
Paddle-Inference-Demo copied to clipboard

No such file or directory

Open linlongrd opened this issue 1 year ago • 2 comments

error while loading shared libraries: libpaddle2onnx.so.1.0.0rc2: cannot open shared object file: No such file or directory

linlongrd avatar May 09 '24 07:05 linlongrd

./paddlelit: error while loading shared libraries: libdnnl.so.3: cannot open shared object file: No such file or directory

linlongrd avatar May 09 '24 09:05 linlongrd

1.if you compiling with source code,you can add cmake .. -GNinja -DPY_VERSION=3.8 -DWITH_GPU=ON -WITH_ONNXRUNTIME=ON -WITH_ONEDNN=ON.Then, modify ${paddle_inference_demo} compile.sh and set LIB_DIR=${paddle_path}/build/paddle_inference_install_dir.
2. Ensure that the paddle version you downloaded comes with some compilation options -WITH_ONNXRUNTIME=ON -WITH_ONEDNN=ON

bukejiyu avatar May 20 '24 06:05 bukejiyu