-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[NPU] Add plugin metadata to compiled model #27159
Merged
PatrikStepan
merged 23 commits into
openvinotoolkit:master
from
alexandruenache1111:blob_stream_commit
Jan 15, 2025
Merged
[NPU] Add plugin metadata to compiled model #27159
PatrikStepan
merged 23 commits into
openvinotoolkit:master
from
alexandruenache1111:blob_stream_commit
Jan 15, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alexandruenache1111
force-pushed
the
blob_stream_commit
branch
2 times, most recently
from
November 12, 2024 06:45
aaba4a6
to
421d071
Compare
pereanub
reviewed
Nov 12, 2024
pereanub
reviewed
Nov 13, 2024
pereanub
reviewed
Nov 22, 2024
sbutnari
reviewed
Nov 28, 2024
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.
Small renaming suggestion for createMetadata()
.
alexandruenache1111
force-pushed
the
blob_stream_commit
branch
from
November 29, 2024 09:41
a49bbba
to
f1a9f1c
Compare
pereanub
reviewed
Nov 29, 2024
build_jenkins |
alexandruenache1111
force-pushed
the
blob_stream_commit
branch
from
December 4, 2024 14:11
cb04bf6
to
4832272
Compare
PatrikStepan
reviewed
Dec 5, 2024
PatrikStepan
reviewed
Dec 5, 2024
PatrikStepan
reviewed
Dec 5, 2024
github-actions
bot
added
category: tools
OpenVINO C++ / Python tools
category: OVC
OVC tool
labels
Dec 6, 2024
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
…ide read_metadata_from Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
…case Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
alexandruenache1111
force-pushed
the
blob_stream_commit
branch
from
January 10, 2025 17:31
c98167d
to
1bbf5fd
Compare
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
razvanapetroaie
approved these changes
Jan 13, 2025
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
StefaniaHergane
approved these changes
Jan 13, 2025
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
MirceaDan99
pushed a commit
to MirceaDan99/openvino
that referenced
this pull request
Jan 22, 2025
### Details: A versioned blob would look like this: ![blob-layout](https://github.com/user-attachments/assets/4f7f9427-503c-4ee7-bd2c-d40fc2b4df3f) Where _Blob data size_ is necessary when importing the blob to offset jump at _Metadata_. Rules of thumb when we need to set a new `Metadata` version: - if we **add fields at the end** of current `Metadata`, then `Minor` is incremented. This means we maintain backward compatibility with old blobs. Example: `After OV Version we add a new field.` - if we **remove fields** or **add fields anywhere but at end**, then `Major` is incremented. This means we break forward compatibility with old blobs. Examples: `Between Minor and OV Version, we add a new field.` OR `We remove OV Version.` Simplified workflow: - at export: we append the versioning stuff at the end of the blob - at import: we extract the stored `Metadata` and verify it against the currently supported one. If the imported blob is incompatible, we reject it and print its OV version (where possible). ### Tickets: - *E-135371* --------- Signed-off-by: Alexandru Enache <alexandru.enache@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
category: build
OpenVINO cmake script / infra
category: NPU
OpenVINO NPU plugin
Code Freeze
priority: high
High piority
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Details:
A versioned blob would look like this:
Where Blob data size is necessary when importing the blob to offset jump at Metadata.
Rules of thumb when we need to set a new
Metadata
version:Metadata
, thenMinor
is incremented. This means we maintain backward compatibility with old blobs.Example:
After OV Version we add a new field.
Major
is incremented. This means we break forward compatibility with old blobs.Examples:
Between Minor and OV Version, we add a new field.
OR
We remove OV Version.
Simplified workflow:
Metadata
and verify it against the currently supported one. If the imported blob is incompatible, we reject it and print its OV version (where possible).Tickets: