-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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] 2024.5.0 update #43053
[openvino] 2024.5.0 update #43053
Conversation
ilya-lavrenov
commented
Jan 2, 2025
•
edited
Loading
edited
- Updated OpenVINO to 2024.5.0 release
- Use level-zero from vcpkg instead of submodule
24f3234
to
d6ff068
Compare
@WangWeiLin-MV please, have a look |
ports/openvino/portfile.cmake
Outdated
002-protobuf.patch # https://github.com/openvinotoolkit/openvino/pull/27510 | ||
003-snippets-templates.patch # https://github.com/openvinotoolkit/openvino/pull/28172 | ||
004-add-include-chrono.patch # https://github.com/openvinotoolkit/openvino/pull/28192 | ||
005-level-zero.patch # https://github.com/openvinotoolkit/openvino/pull/27633 | ||
006-level-zero-runtime.patch # https://github.com/openvinotoolkit/openvino/pull/27659 | ||
007-opencl-v2024.10.24.patch # https://github.com/openvinotoolkit/openvino/pull/28275 | ||
008-fix-level-zero-system.patch # https://github.com/openvinotoolkit/openvino/pull/28241 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for quoting the upstream, theses patches could be applied by below method:
vcpkg_download_distfile(PATCH_002_PROTOBUF
URLS https://github.com/openvinotoolkit/openvino/commit/103c3b72259648c990970afb8ce2bec489fcf583.patch?full_index=1
SHA512 0
FILENAME openvinotoolkit-openvino-103c3b72259648c990970afb8ce2bec489fcf583.patch
)
then,
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO openvinotoolkit/openvino
REF "${VERSION}"
SHA512 b003647de3de49e605943488ca9b2e5196b20d95b3152f0c2331c283d4cb253d1bbbb9cde04fa82733d3871d7128c6db6210957660bd89f26462798f782eca47
HEAD_REF master
PATCHES
"${PATCH_002_PROTOBUF}"
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not all patches are applied as is and I have to fix cherry-pick conflicts, because they are for newer OpenVINO versions (upcoming 2025.0), while in current PR we introduce upgrade to 2024.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried these patches, and all of these were applied without conflicts, could you please update the PATCHES
?
Prefer downloading approved patches over checking them into the port
https://learn.microsoft.com/en-us/vcpkg/contributing/maintainer-guide#prefer-download-patches
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
4c954bf
to
ab81cb4
Compare
Signed-off-by: Ilya Lavrenov <[email protected]>
Signed-off-by: Ilya Lavrenov <[email protected]>
ab81cb4
to
2e659a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still in local testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Patches checked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The port installation tests pass with the following triplets:
- x64-windows
{ | ||
"name": "npu", | ||
"platform": "x64 & !(osx | uwp)" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ | |
"name": "npu", | |
"platform": "x64 & !(osx | uwp)" | |
}, |
Please carefully consider whether a feature should be on by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've considered and decided to keep as is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please comment the reason of the necessary default feature for the further vcpkg team review?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a default OpenVINO configuration in all other distribution types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New default feature.
Approve for further review.