Open RocskyLu opened 3 years ago
build the lib with .\build.bat --config RelWithDebInfo --use_openvino GPU_FP32 --build_shared_lib
@RocskyLu can you confirm your windows machine has Intel Graphics (iGPU) ? If yes, you should be able to run your sample using OpenVINO Execution Provider on Intel's iGPU. Please use the latest onnxruntime 1.7.0 version and the latest OpenVINO 2021.3 binary package.
Build Instructions at this page: https://www.onnxruntime.ai/docs/how-to/build.html#openvino .\build.bat --config Release --use_openvino GPU_FP32 --build_shared_lib --parallel
Note: --parallel flag is optional flag, it will fasten your overall build time, since it will make use of all your cores during build time.
Yes your build instructions are correct. With RelWithDebInfo build, there's a bug. The fix is available in ONNXRuntime master branch and will be available with ONNXRuntime 1.8.0 release in another 2 weeks.
But for now, I would suggest you to use ONNXRuntime 1.7.0 and specifiy the config Option as --config Release while building.
If you face any issues during build time or during running the application. please paste the error logs or the screenshots here. I will help you to fix it.
Describe the bug I have built the onnxruntime with openvino following the instructions here https://www.onnxruntime.ai/docs/how-to/build.html#openvino. However, when I run the demo, it does not work on the integrated GPU. I do not know what's wrong with the built verion. The demo can be run successfully with cpu and cuda.
System information
To Reproduce Just follow the instructions here https://www.onnxruntime.ai/docs/how-to/build.html#openvino.