Paddle-Inference-Demo
Paddle-Inference-Demo copied to clipboard
fix cpp xpu compile
描述
- 在Develop分支下的XPU编译中,会出现zlib找不到的问题
- 相关ISSUE:https://github.com/PaddlePaddle/Paddle/issues/66180
- 解决方法参考:https://stackoverflow.com/questions/22337896/how-to-fix-undefined-references-to-inflate-deflate-functions
- 在官方的XPU镜像中是不存在CUDA驱动的,因此需要删除project中project(cpp_inference_demo CXX C CUDA)中的CUDA,才能使得run.sh可以正确运行