intel / openvino-rs

Rust bindings for OpenVINO™
Apache License 2.0
84 stars 24 forks source link

Investigate switching to OpenVINO API 2.0 #53

Closed abrown closed 3 weeks ago

abrown commented 2 years ago

OpenVINO has a new API for accessing its functionality: API 2.0. The C API that these bindings rely on will soon be considered a legacy API. It would be worthwhile to consider switching the implementation to use the C API of API 2.0. A description of how to use some of the top-level structures can be found here.

x404159 commented 1 year ago

hey, will these bindings support API 2.0 in future, are there any plans?

abrown commented 1 year ago

I think so, but it's dependent on a couple of things, mainly getting time to do this. Are you interested in helping out with that?

x404159 commented 1 year ago

hey, thanks for the quick reply, i really am not very knowledgeable in this area, i needed to inference dynamic model with rust and openvino. so wanted to know the status.

abrown commented 10 months ago

I've been informed that the legacy OpenVINO C API will be going away at the end of 2023. This means that switching to OpenVINO's 2.0 API will be necessary to continue binding to future versions of OpenVINO. To help out with this task, here are some steps I might follow:

At this point, it should be possible to run all of the tests and ensure the bindings to the new API still work. At this point we would create a new release, etc.

abrown commented 3 weeks ago

This has been completed since the 0.7.* releases.