Skip to content

[TEST][DO NOT REVIEW]#36855

Open
DanLiu2Intel wants to merge 36 commits into
openvinotoolkit:masterfrom
DanLiu2Intel:master_refactorDynamicGraph_0713_3
Open

[TEST][DO NOT REVIEW]#36855
DanLiu2Intel wants to merge 36 commits into
openvinotoolkit:masterfrom
DanLiu2Intel:master_refactorDynamicGraph_0713_3

Conversation

@DanLiu2Intel

Copy link
Copy Markdown
Contributor

Details:

  • item1
  • ...

Tickets:

  • ticket-id

AI Assistance:

  • AI assistance used: no / yes
  • If yes, summarize how AI was used and what human validation was performed (build/tests/manual checks).

…micarguments fileand remove export npu_vm_runtime_api

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot reviewed 29 out of 29 changed files in this pull request and generated no comments.

@DanLiu2Intel DanLiu2Intel marked this pull request as draft July 14, 2026 03:11
@DanLiu2Intel DanLiu2Intel removed request for a team July 14, 2026 03:11
@DanLiu2Intel DanLiu2Intel requested a review from Copilot July 14, 2026 05:56
@DanLiu2Intel DanLiu2Intel marked this pull request as ready for review July 14, 2026 05:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 29 out of 29 changed files in this pull request and generated 3 comments.

Comment thread src/plugins/intel_npu/src/backend/src/zero_dynamic_pipeline.cpp
Comment thread src/plugins/intel_npu/src/backend/src/zero_dynamic_pipeline.cpp
Comment thread src/plugins/intel_npu/src/backend/src/zero_dynamic_pipeline.cpp
@DanLiu2Intel DanLiu2Intel marked this pull request as draft July 14, 2026 08:27
@DanLiu2Intel DanLiu2Intel marked this pull request as ready for review July 15, 2026 15:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 29 out of 29 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (1)

src/plugins/intel_npu/src/utils/src/vm/dynamic_arguments.cpp:73

  • [BLOCKER] MemRefType::set(...) assumes tensor->get_strides() is non-empty and has rank entries, then indexes strides[j]. Elsewhere in the plugin (including this file’s callers) get_strides().empty() is explicitly handled, so this can crash when a tensor reports empty strides.

Fix: handle strides.empty() (treat as contiguous and call updateStride()), and validate strides.size() == _dimsCount before indexing.

Comment on lines 311 to 314
auto& command_lists = _command_lists.at(i);
auto& graphArguments = command_lists->getBinding();
auto& dynamicArguments = command_lists->getArguments();
if (_logger.level() >= ov::log::Level::DEBUG) {
_logger.debug("push - inputs info for dynamic graph:");
Comment on lines +139 to +160
auto assign_slot = [&](MemRefType& slot) {
slot._basePtr = slot._data = const_cast<void*>(argv);
if (slot._dimsCount == 0) {
slot._dimsCount = static_cast<int64_t>(sizes.size());
slot._sizes.resize(sizes.size());
slot._strides.resize(strides.size());
} else if (slot._dimsCount != static_cast<int64_t>(sizes.size())) {
OPENVINO_THROW("Dimension count mismatch. Current dimension count: ",
slot._dimsCount,
", new dimension count: ",
sizes.size());
} else if (strides.size() != static_cast<size_t>(sizes.size())) {
OPENVINO_THROW("Updated shape and stride count mismatch: shape rank and stride count differ. Shape rank: ",
sizes.size(),
", stride count: ",
strides.size());
}
for (int64_t i = 0; i < slot._dimsCount; i++) {
slot._sizes[i] = static_cast<int64_t>(sizes[i]);
slot._strides[i] = static_cast<int64_t>(strides[i]);
}
};
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 do not merge do_not_merge do_not_review do-not-merge Do not merge this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants