-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Openvino EP to run on one core with one thread #12365
Comments
Hi @Darshvino,
This will set no. of cpu threads to 1. |
isnt this configurable through provider opts or an env var? |
even why set
openvino ep still uses 8 threads My session options config
tested on |
I am seeing the same behavior. Recompiling from source @mayavijx suggests did not work for me as well. My session options,
tested on rel-1.15.1 branch |
We've now mapped the num_of_threads provider option to the INFERENCE_NUM_THREADS property of OpenVINO, and by setting it to 1 at runtime you should be able to achieve single thread execution. The PR: #18596 |
The PR hasn't been released yet? |
#18596 PR merged |
Hi ONNXRT team,
How to set Openvino EP to run on one core with one thread?
The text was updated successfully, but these errors were encountered: