-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[core] Open compiled model as file stream when MMAP disabled. #31774
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
Merged
praasz
merged 7 commits into
openvinotoolkit:master
from
praasz:bugfix/peak-memory-use-if-mmap-disabled
Aug 21, 2025
Merged
[core] Open compiled model as file stream when MMAP disabled. #31774
praasz
merged 7 commits into
openvinotoolkit:master
from
praasz:bugfix/peak-memory-use-if-mmap-disabled
Aug 21, 2025
Conversation
This file contains hidden or 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
- The model read postponed to plugin level as create ov::Tensor from such model may cause increase memory consumption Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
clee30
approved these changes
Aug 19, 2025
Contributor
clee30
left a comment
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.
Look good.
Signed-off-by: Raasz, Pawel <[email protected]>
t-jankowski
approved these changes
Aug 19, 2025
olpipi
approved these changes
Aug 19, 2025
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
olpipi
approved these changes
Aug 20, 2025
github-merge-queue bot
pushed a commit
that referenced
this pull request
Aug 20, 2025
…31813) ### Details: - When MMAP feature disabled open model from cache as stream and don't read into tensor on core level. This read may trigger additional consumption as plugin may try read stream again. ### Port of: - #31774 ### Tickets: - CVS-171329 Signed-off-by: Raasz, Pawel <[email protected]>
Merged
via the queue into
openvinotoolkit:master
with commit Aug 21, 2025
98fe779
256 of 260 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
category: CPU
OpenVINO CPU plugin
category: inference
OpenVINO Runtime library - Inference
category: TEMPLATE
OpenVINO Template plugin
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:
Tickets: