diff --git a/src/plugins/intel_npu/tests/functional/behavior/weights_separation.cpp b/src/plugins/intel_npu/tests/functional/behavior/weights_separation.cpp index ba7e6a9599e51b..04d2f8802674bb 100644 --- a/src/plugins/intel_npu/tests/functional/behavior/weights_separation.cpp +++ b/src/plugins/intel_npu/tests/functional/behavior/weights_separation.cpp @@ -10,6 +10,10 @@ const std::vector emptyConfig = {{}}; const std::vector cipConfig = { {ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::PLUGIN), ov::intel_npu::platform(ov::test::utils::getTestsPlatformFromEnvironmentOr(ov::test::utils::DEVICE_NPU))}}; +const std::vector bothConfig = { + {}, + {ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::PLUGIN), + ov::intel_npu::platform(ov::test::utils::getTestsPlatformFromEnvironmentOr(ov::test::utils::DEVICE_NPU))}}; INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTest, WeightsSeparationTests, @@ -22,3 +26,9 @@ INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTest, ::testing::Combine(::testing::Values(ov::test::utils::DEVICE_NPU), ::testing::ValuesIn(cipConfig)), WeightsSeparationOneShotTests::getTestCaseName); + +INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTest, + WeightsSeparationIterativeTests, + ::testing::Combine(::testing::Values(ov::test::utils::DEVICE_NPU), + ::testing::ValuesIn(bothConfig)), + WeightsSeparationIterativeTests::getTestCaseName); diff --git a/src/plugins/intel_npu/tests/functional/behavior/weights_separation.hpp b/src/plugins/intel_npu/tests/functional/behavior/weights_separation.hpp index dade16d10a1f14..1adcc1513fe8da 100644 --- a/src/plugins/intel_npu/tests/functional/behavior/weights_separation.hpp +++ b/src/plugins/intel_npu/tests/functional/behavior/weights_separation.hpp @@ -172,21 +172,6 @@ TEST_P(WeightsSeparationTests, CheckForFailureNoWeightlessCacheAttribute) { OV_EXPECT_THROW(compiled_model = core->compile_model(model, target_device, configuration), ov::Exception, _); } -/** - * @brief Compiles a basic model and checks if it produces correct results. - */ -TEST_P(WeightsSeparationTests, CorrectInferenceResultNoImportIterative) { - model = createTestModel(); - configuration.insert(ov::intel_npu::weightless_blob(true)); - configuration.insert(ov::intel_npu::separate_weights_version(ov::intel_npu::WSVersion::ITERATIVE)); - - OV_ASSERT_NO_THROW(compiled_model = core->compile_model(model, target_device, configuration)); - ASSERT_TRUE(compiled_model); - EXPECT_FALSE(compiled_model.get_property(ov::loaded_from_cache)); - - create_infer_request_and_check_result(); -} - /** * @brief compile -> import using OV caching -> create inference request -> run one inference and check the result */ @@ -474,6 +459,23 @@ TEST_P(WeightsSeparationOneShotTests, CorrectInferenceResultNoImportOneShot) { create_infer_request_and_check_result(); } +using WeightsSeparationIterativeTests = WeightsSeparationTests; + +/** + * @brief Compiles a basic model and checks if it produces correct results. + */ +TEST_P(WeightsSeparationIterativeTests, CorrectInferenceResultNoImportIterative) { + model = createTestModel(); + configuration.insert(ov::intel_npu::weightless_blob(true)); + configuration.insert(ov::intel_npu::separate_weights_version(ov::intel_npu::WSVersion::ITERATIVE)); + + OV_ASSERT_NO_THROW(compiled_model = core->compile_model(model, target_device, configuration)); + ASSERT_TRUE(compiled_model); + EXPECT_FALSE(compiled_model.get_property(ov::loaded_from_cache)); + + create_infer_request_and_check_result(); +} + } // namespace behavior } // namespace test } // namespace ov diff --git a/src/plugins/intel_npu/tests/functional/shared_tests_instances/npu_skip_func_tests.xml b/src/plugins/intel_npu/tests/functional/shared_tests_instances/npu_skip_func_tests.xml index 606af7dd16873b..9d5df956f54680 100644 --- a/src/plugins/intel_npu/tests/functional/shared_tests_instances/npu_skip_func_tests.xml +++ b/src/plugins/intel_npu/tests/functional/shared_tests_instances/npu_skip_func_tests.xml @@ -787,7 +787,7 @@ Example: Only "developer built" compilers support weights separation .*WeightsSeparationTests.* - .*WeightsSeparationNotSupportedTests.* + .*WeightsSeparationIterativeTests.*