-
Notifications
You must be signed in to change notification settings - Fork 2.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
Is Core threading safe ? #27366
Comments
Hi @Jsy0220 You can have a single Core for your application.
These methods are thread safe and if you access the same device from multiple threads (eg. call compile_model for different models) or read different models in parallel (via read_model) - the Core will ensure proper initialization of inference plugins and frontends to read models. |
@ilya-lavrenov I see. Thank you!! |
@ilya-lavrenov Hi, I tried to use one openvino version: 2022.1.0 |
it's not related to single / multiple cores usage or single / multiple threads. Could you please try latest 2024.5 OpenVINO? You are using 2.5 year old release Is it possible to share your model to reproduce on our side? |
@ilya-lavrenov sorry, I can't share this model. Do you know some possible reasons ?It only happened under single core. Do models share some resource if using one core ? |
Hi, I tried to use OpenVino in my application for multiple model inference. I have some question about
ov::Core
:The text was updated successfully, but these errors were encountered: