Skip to content

Conversation

abrown
Copy link
Contributor

@abrown abrown commented Mar 29, 2021

This first disables the automatic building of openvino-tensor-converter as a part of the workspace: 1) it is likely not an intended target for the average user, and 2) the OpenCV dependencies are tricky to get right between OS versions (even within Linux). Then this creates a CI matrix for building the OpenVINO Rust bindings on different OS and OpenVINO versions. In order to account for extra validation done upstream in SetBlob, this also includes a change to explicitly set the layout of the model input to use NHWC.

This change should confirm that openvino-rs works on OpenVINO versions 2020.4-2021.3, at least on Ubuntu. See #5 for extending support to other OSes.

@abrown abrown marked this pull request as ready for review March 29, 2021 23:46
@abrown abrown marked this pull request as draft March 29, 2021 23:49
@abrown abrown force-pushed the build-matrix branch 3 times, most recently from 1f6329f to 61d9737 Compare March 30, 2021 00:13
abrown added 3 commits April 2, 2021 16:33
Due to a change in the behavior of the upstream [`SetBlob`]( https://github.com/openvinotoolkit/openvino/pull/2402/files#diff-0ec2c2a8d308ceb06e9f0d16319099aa1bb461c49a19e51c5267ced413f25f77R278-R280), `infer_request.set_blob` would fail with a `GeneralError`. In tracking this down, it appears that the blob validation expects the "blocking descriptions" to match. In these tests, we import NHWC tensors so we must now explicitly set this as the input layout.
@abrown abrown marked this pull request as ready for review April 2, 2021 23:34
@abrown abrown merged commit 9ebe98a into intel:main Apr 3, 2021
@abrown abrown deleted the build-matrix branch April 3, 2021 00:20
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