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

[NPU] Use zero tensor to get correct data #27980

Merged
merged 9 commits into from
Jan 13, 2025

Conversation

pereanub
Copy link
Contributor

@pereanub pereanub commented Dec 9, 2024

Details:

  • Can not deallocate and re-allocate a newer memory for tensor if update mutable command list is not supported. Newer memory should be updated in the graph and this can be done only using the updating command list feature
  • In order to check if the memory was or wasn't re-allocated we are checking the unique ID provided by the driver when memory is created

Tickets:

  • E#134453

@github-actions github-actions bot added the category: NPU OpenVINO NPU plugin label Dec 9, 2024
@pereanub pereanub changed the title Use zero tensor to get correct data [NPU] Use zero tensor to get correct data Dec 9, 2024
@pereanub pereanub changed the title [NPU] Use zero tensor to get correct data [DO NOT MERGE][NPU] Use zero tensor to get correct data Dec 10, 2024
@pereanub pereanub marked this pull request as ready for review December 10, 2024 13:37
@pereanub pereanub requested review from a team as code owners December 10, 2024 13:37
@pereanub pereanub force-pushed the use_correct_tensor branch 11 times, most recently from c718ff5 to b1afd2c Compare December 16, 2024 14:55
@pereanub pereanub changed the title [DO NOT MERGE][NPU] Use zero tensor to get correct data [NPU] Use zero tensor to get correct data Dec 18, 2024
Copy link
Contributor

@razvanapetroaie razvanapetroaie left a comment

Choose a reason for hiding this comment

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

Halfway through, nothing major so far.

Copy link
Contributor

@razvanapetroaie razvanapetroaie left a comment

Choose a reason for hiding this comment

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

@MirceaDan99 Please let us know if you have anything before merging this.

@pereanub pereanub force-pushed the use_correct_tensor branch 6 times, most recently from f505588 to 1b6d092 Compare January 8, 2025 10:25
@pereanub pereanub force-pushed the use_correct_tensor branch 4 times, most recently from bd6c07b to e83292e Compare January 9, 2025 09:39
@pereanub pereanub added this pull request to the merge queue Jan 13, 2025
Merged via the queue into openvinotoolkit:master with commit 2817977 Jan 13, 2025
157 checks passed
@pereanub pereanub deleted the use_correct_tensor branch January 13, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: NPU OpenVINO NPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants