Skip to content

Conversation

@praasz
Copy link
Contributor

@praasz praasz commented Aug 18, 2025

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.

Tickets:

- 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]>
@praasz praasz requested a review from a team as a code owner August 18, 2025 12:50
@github-actions github-actions bot added the category: inference OpenVINO Runtime library - Inference label Aug 18, 2025
praasz added 2 commits August 18, 2025 12:55
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
Copy link
Contributor

@clee30 clee30 left a 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]>
Signed-off-by: Raasz, Pawel <[email protected]>
@praasz praasz requested a review from a team as a code owner August 19, 2025 13:39
@github-actions github-actions bot added the category: TEMPLATE OpenVINO Template plugin label Aug 19, 2025
@praasz praasz added this to the 2025.4 milestone Aug 20, 2025
@praasz praasz enabled auto-merge August 20, 2025 11:03
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]>
@praasz praasz added this pull request to the merge queue Aug 21, 2025
Merged via the queue into openvinotoolkit:master with commit 98fe779 Aug 21, 2025
256 of 260 checks passed
@praasz praasz deleted the bugfix/peak-memory-use-if-mmap-disabled branch August 21, 2025 07:18
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants