Skip to content
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

Use new Python API of OpenVINO #345

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jiwaszki
Copy link
Contributor

@jiwaszki jiwaszki commented Jun 5, 2023

Updating OpenVINO to use new capabilities of 2023.0 release.

Applied changes:

  • Remove InferRequest use in favor of direct CompiledModel calls. New class behavior create InferRequest on demand when inference is run for the first time and holds it internally. More info here.
  • Use of new shared_memory mode to limit copies of input data. If project is implemented in a manner to run sequentially, it can be left as True. If not, the new mode can be exposed as additional flag to the wrapper method. More on the feature here.
    (note to maintainers: requires benchmarking on project's side)
  • Address resulting dictionary directly with names. More on OVDict here.

Thanks in advance for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant