Open prasad-pr-20 opened 4 weeks ago
It seems openvino is not installed ?
OpenVINO is installed and the version is 2024.4.0.
The onnxruntime-openvino wheel version seems to be quite old "onnxruntime-openvino==1.14.0"
Can you use the latest one (1.19.0) and use OV2024.3 (latest onnxruntime-openvino version officially supports OV 2024.3)
Environment Info:
Issue Description I'm encountering a runtime error when trying to use the
ORTModelForSeq2SeqLM
class provided by Optimum-ONNX with theOpenVINOExecutionProvider
. The issue arises when executing the following line of code:model_1 = ORTModelForSeq2SeqLM.from_pretrained("optimum/m2m100_418M", provider='OpenVINOExecutionProvider')
The error message is as follows:RuntimeError: C:\Users\iei\Desktop\vishnu\wheel_build_after_doc_update\onnxruntime\onnxruntime\core\session\provider_bridge_ort.cc:1103 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 127 "" when trying to load "C:\Users\username\Downloads\path\path\open_vin\lib\site-packages\onnxruntime\capi\onnxruntime_providers_openvino.dll".
It's peculiar that the error message includes a different username in the file path, which does not match my machine's username.
Steps to Reproduce
pip install onnx onnxruntime onnxruntime-openvino
Additional Context
Any assistance in resolving this issue would be greatly appreciated.