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

Fixes dynamic shapes #27776

Merged

Conversation

ArtemySkrebkov
Copy link
Contributor

@ArtemySkrebkov ArtemySkrebkov commented Nov 27, 2024

Details:

Tickets:

  • E147314
  • E147315

@github-actions github-actions bot added the category: NPU OpenVINO NPU plugin label Nov 27, 2024
@@ -56,7 +56,7 @@ void check_level_zero_attributes_match(const IODescriptor& ioDescriptor, const A

for (size_t index = 0; index < ovDimensions.size(); ++index) {
OPENVINO_ASSERT(
ioDescriptor.shapeFromCompiler.is_dynamic() || ovDimensions[index] == zeDescriptor.info.dims[index],
ovDimensions[index] == zeDescriptor.info.dims[index],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

shapeFromCompiler is serialized using upper bounds always.

Signed-off-by: Skrebkov, Artemy <[email protected]>
@ArtemySkrebkov ArtemySkrebkov marked this pull request as ready for review December 23, 2024 22:35
@ArtemySkrebkov ArtemySkrebkov requested review from a team as code owners December 23, 2024 22:35
@ArtemySkrebkov
Copy link
Contributor Author

@StefaniaHergane @razvanapetroaie

May I ask you to review the PR, please?

The results from VPUX repo looks good besides a single network. I will explain the reason on the failure in the corresponding PR.

Do you think we can merge this PR if it does not break anything in OV PR checker?

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.

Changes look fine to me

Copy link
Contributor

This PR will be closed in a week because of 2 weeks of no activity.

@github-actions github-actions bot added the Stale label Jan 12, 2025
@ArtemySkrebkov ArtemySkrebkov requested review from a team as code owners January 16, 2025 22:29
@ArtemySkrebkov ArtemySkrebkov requested review from ilya-lavrenov and removed request for a team January 16, 2025 22:29
@github-actions github-actions bot added the category: samples OpenVINO Runtime Samples label Jan 16, 2025
samples/cpp/benchmark_app/main.cpp Outdated Show resolved Hide resolved
samples/cpp/benchmark_app/main.cpp Outdated Show resolved Hide resolved
@ArtemySkrebkov
Copy link
Contributor Author

@praasz @DariaMityagina

Thank you for taking time to review the PR!

Copy link
Contributor

@pereanub pereanub left a comment

Choose a reason for hiding this comment

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

Just a question here. We have also a check related to dynamism in the check_tensor function. Do you need to change that one as well?

@ArtemySkrebkov
Copy link
Contributor Author

Just a question here. We have also a check related to dynamism in the check_tensor function. Do you need to change that one as well?

The check looks just fine to me, I haven't seen it failing. However, I see another issue at the moment, reached out to you in Teams.

@ArtemySkrebkov ArtemySkrebkov added this pull request to the merge queue Jan 17, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jan 17, 2025
### Details:

* Aligns fixes in dynamic shape serializing with
intel-innersource/applications.ai.vpu-accelerators.vpux-plugin#14490
* Fix parsing of shapes for SIT

### Tickets:
 - E147314
 - E147315

---------

Signed-off-by: Skrebkov, Artemy <[email protected]>
Co-authored-by: Pawel Raasz <[email protected]>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 17, 2025
@ArtemySkrebkov ArtemySkrebkov added this pull request to the merge queue Jan 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 17, 2025
@ArtemySkrebkov ArtemySkrebkov added this pull request to the merge queue Jan 19, 2025
Merged via the queue into openvinotoolkit:master with commit f935476 Jan 19, 2025
180 checks passed
@ArtemySkrebkov ArtemySkrebkov deleted the fixes-dynamic-shapes branch January 19, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: NPU OpenVINO NPU plugin category: samples OpenVINO Runtime Samples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants