Skip to content

Conversation

@praasz
Copy link
Contributor

@praasz praasz commented Jan 31, 2025

Details:

  • Mark ov::element::undefined as deprecated
  • Use dynamic type instead of undefined

Related PRs:

Tickets:

@praasz praasz requested review from a team as code owners January 31, 2025 14:33
@praasz praasz requested review from ilya-lavrenov and itikhono and removed request for a team January 31, 2025 14:33
@github-actions github-actions bot added category: inference OpenVINO Runtime library - Inference category: Core OpenVINO Core (aka ngraph) category: IE Tests OpenVINO Test: plugins and common category: GPU OpenVINO GPU plugin labels Jan 31, 2025
@github-actions github-actions bot removed the category: NPUW NPUW plugin label Feb 14, 2025
@mlukasze
Copy link
Contributor

@vladimir-paramuzov , @dmitry-gorokhov , @PatrikStepan

friendly reminder

- remove code duplicate

Signed-off-by: Raasz, Pawel <[email protected]>
@t-jankowski t-jankowski added this pull request to the merge queue Feb 20, 2025
Merged via the queue into openvinotoolkit:master with commit d9c2aee Feb 20, 2025
192 checks passed
@t-jankowski t-jankowski deleted the feature/use-element-dynamic-instead-undefined branch February 20, 2025 14:55
@pereanub pereanub mentioned this pull request Feb 20, 2025
@pereanub
Copy link
Contributor

Some NPU regressions were added with this PR: Compilation fails for IntelDNS

github-merge-queue bot pushed a commit that referenced this pull request Feb 25, 2025
timxu826 pushed a commit to timxu826/openvino that referenced this pull request Apr 7, 2025
abrown added a commit to abrown/openvino-rs that referenced this pull request Jun 10, 2025
OpenVINO 2025.1.0 deprecates `ov_element_type_e::UNDEFINED` ([#28766]),
so this change removes it in the Rust bindings. This does create a
breaking API change across minor versions of upstream OpenVINO (v2025.0
to v2025.1); we should assume from here on out that the C API is
unstable.

[#28766]: openvinotoolkit/openvino#28766
abrown added a commit to abrown/openvino-rs that referenced this pull request Jun 10, 2025
OpenVINO 2025.1.0 deprecates `ov_element_type_e::UNDEFINED` ([#28766]),
so this change removes it in the Rust bindings. This does create a
breaking API change across minor versions of upstream OpenVINO (v2025.0
to v2025.1); we should assume from here on out that the C API is
unstable.

[#28766]: openvinotoolkit/openvino#28766
rahulchaphalkar pushed a commit to intel/openvino-rs that referenced this pull request Jun 10, 2025
* Update `upstream` submodule to v2025.1.0

This captures (minus some cleanup of now-untracked files):

```
cd crates/openvino-sys/upstream
git checkout 2025.1.0
git submodule update --init --recursive
```

This brings the upstream submodule in line with release [2025.1.0].

[2025.1.0]: https://github.com/openvinotoolkit/openvino/releases/tag/2025.1.0

* Update bindings

This captures:

```
cargo xtask codegen
```

The key change introduced here--a breaking one--is the rearranging of
all of the enum values for `ov_element_type_e`. Like #143, this creates
an incompatibility when running a pre-2025.1 OpenVINO with this version
of the bindings.

* Remove `RwPropertyKey::Affinity`

This pulls in work from #159 to remove a now-unknown property.

Co-authored-by: Rickvanderveen <[email protected]>

* Remove `ElementType::Undefined`

OpenVINO 2025.1.0 deprecates `ov_element_type_e::UNDEFINED` ([#28766]),
so this change removes it in the Rust bindings. This does create a
breaking API change across minor versions of upstream OpenVINO (v2025.0
to v2025.1); we should assume from here on out that the C API is
unstable.

[#28766]: openvinotoolkit/openvino#28766

* ci: temporarily limit the versions tested in CI

---------

Co-authored-by: Rickvanderveen <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Jul 31, 2025
### Details:
> #28766 mark UNDEFINED
type as deprecated. Need to add UNDEFINED type test on openvino to find
compatibility issue earlier.
> Added a test case to verify whether the serialization, compilation and
inference results of the undefined type model and the dynamic type model
are the same.

### Tickets:
 - *E-162769*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: C API OpenVINO C API bindings category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings category: CPU OpenVINO CPU plugin category: docs_snippets OpenVINO docs snippets (docs/snippets) category: GPU OpenVINO GPU plugin category: IE Tests OpenVINO Test: plugins and common category: inference OpenVINO Runtime library - Inference category: IR FE OpenVINO IR v10 / v11 FrontEnd category: LP transformations OpenVINO Low Precision transformations category: NPU OpenVINO NPU plugin category: ONNX FE OpenVINO ONNX FrontEnd category: PDPD FE OpenVINO PaddlePaddle FrontEnd category: Python API OpenVINO Python bindings category: samples OpenVINO Runtime Samples category: TEMPLATE OpenVINO Template plugin category: TF FE OpenVINO TensorFlow FrontEnd category: TFL FE OpenVINO TensorFlow Lite FrontEnd category: transformations OpenVINO Runtime library - Transformations

Projects

None yet

Development

Successfully merging this pull request may close these issues.