Skip to content

Conversation

@StefaniaHergane
Copy link
Contributor

@StefaniaHergane StefaniaHergane commented Oct 2, 2025

Details:

  • Extend ZeroTensorTests. Add new test CopyZeroTensorAndCheckTensorDataType to check all supported tensor data types.
  • Update func tests OVInferRequestIOTensorSetPrecisionTestNPU. Use model with same type as precision tested, so that set_tensor is called for all tested precisions.
  • Update skip config with supported precision tests.

Tickets:

@StefaniaHergane StefaniaHergane requested review from a team as code owners October 2, 2025 14:07
@github-actions github-actions bot added the category: NPU OpenVINO NPU plugin label Oct 2, 2025
@pereanub
Copy link
Contributor

pereanub commented Oct 3, 2025

What about end-to-end tests for such a scenario?

@StefaniaHergane
Copy link
Contributor Author

StefaniaHergane commented Oct 6, 2025

What about end-to-end tests for such a scenario?

There are some func tests OVInferRequestCheckTensorPrecision - they only use get_tensor.
I can test set_tensor by updating the func tests OVInferRequestIOTensorSetPrecisionTestNPU to use a model with same type as precision tested -> set_tensor is called for all tested precisions. This means new model compiled for each testcase.

@pereanub Please have a look into latest update.

@StefaniaHergane StefaniaHergane changed the title [NPU] Extend ZeroTensorTests [NPU] Extend functional tests to cover sub-byte element types Oct 6, 2025
Signed-off-by: Stefania Hergane <[email protected]>
Generate model with same type as precision tested, so that set_tensor is called for all tested precisions

Signed-off-by: Stefania Hergane <[email protected]>
@StefaniaHergane StefaniaHergane added this pull request to the merge queue Oct 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 8, 2025
@StefaniaHergane StefaniaHergane added this pull request to the merge queue Oct 8, 2025
Merged via the queue into openvinotoolkit:master with commit 67fddb4 Oct 8, 2025
177 checks passed
@StefaniaHergane StefaniaHergane deleted the hs/extend_tests branch October 8, 2025 11:56
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.

5 participants