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

[openvino] support dynamic protobuf #34651

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

ilya-lavrenov
Copy link
Contributor

@ilya-lavrenov ilya-lavrenov commented Oct 21, 2023

Ported several patches from upstream:

  • WA to dynamic protobuf support
  • Work with tensorflow protobuf to prevent conflicts with OpenCV integration (in case of static build OpenVINO and OpenCV use the same protocol buffer files to support TensorFlow)

Note, that all patches except one will be removed during update to next OpenVINO release.
Currently, they are required for integration with OpenCV (PR #33883)

@ilya-lavrenov ilya-lavrenov force-pushed the openvino-2023.1.0 branch 2 times, most recently from 0402b89 to ae17d2f Compare October 21, 2023 18:25
@Adela0814 Adela0814 added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Oct 23, 2023
@@ -15,6 +15,7 @@
"homepage": "https://github.com/openvinotoolkit/openvino",
"documentation": "https://docs.openvino.ai/latest/index.html",
"license": "Apache-2.0",
"supports": "!uwp",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why UWP is not supported? I'm not able to find any relevant instructions.

Copy link
Contributor Author

@ilya-lavrenov ilya-lavrenov Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because OpenVINO uses LoadLibrary, which is prohibited in UWP Apps
https://github.com/openvinotoolkit/openvino/blob/b67cff7cd5bcf44cc0a24e041f1097aa4636a4d3/src/common/util/src/os/win/win_shared_object_loader.cpp#L60-L62

It was detected through the integration with OpenCV where UWP is mandatory - we have compilation issues with OpenVINO. So, it's better to declare absence of UWP support until it's investigated by OpenVINO development team.

@Adela0814 Adela0814 added the info:reviewed Pull Request changes follow basic guidelines label Oct 24, 2023
@JavierMatosD JavierMatosD merged commit 1a243cf into microsoft:master Oct 24, 2023
15 checks passed
@ilya-lavrenov ilya-lavrenov deleted the openvino-2023.1.0 branch October 24, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants