[NPU] Added NPU compile tests support to model_hub_tests#36771
Draft
asukhobo wants to merge 22 commits into
Draft
[NPU] Added NPU compile tests support to model_hub_tests#36771asukhobo wants to merge 22 commits into
asukhobo wants to merge 22 commits into
Conversation
Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
NPU has no runtime for dynamic shapes and the PyTorch frontend keeps input dims dynamic even when traced with a concrete example. Declare static input shapes (derived from the traced example) via convert_model(input=...) for the NPU device so the compiler-in-plugin can compile. CPU/GPU behavior is unchanged. Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
…supported on NPU due to test fauilures Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
Signed-off-by: dawrasau <saurabh.dawra@intel.com>
Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
akashchi
reviewed
Jul 13, 2026
akashchi
left a comment
Contributor
There was a problem hiding this comment.
Please re-request the review once the changes are in the main windows workflow.
Comment on lines
+6
to
+9
| runner: | ||
| description: 'Machine on which the tests would run' | ||
| type: string | ||
| required: true |
Contributor
There was a problem hiding this comment.
I can see that some of the commands are Windows-specific (expand-archive, ^, etc.). Are you planning on enabling this job for Linux as well? If so, I think the commands should be revised. If not, the image input can be removed.
Author
There was a problem hiding this comment.
Sure, but right now Windows is the major platform for NPU, so it goes with higher priority to enable. Later we will integrate our NPU checks for Linux as well.
Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
7b72d7b to
cda8074
Compare
Signed-off-by: dawrasau <saurabh.dawra@intel.com>
Signed-off-by: dawrasau <saurabh.dawra@intel.com>
Signed-off-by: dawrasau <saurabh.dawra@intel.com>
Signed-off-by: Sukhobochenko, Anton <anton.sukhobochenko@intel.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
Added NPU compile tests support to model_hub_tests. Added new tmp workflow for precommit testing for NPU compilation, will be merged into windows release/debug flow after.
Tickets:
AI Assistance: