Skip to content

Commit

Permalink
[ARM CPU] Skip autobatch tests on arm32 arch (openvinotoolkit#18937)
Browse files Browse the repository at this point in the history
  • Loading branch information
allnes authored Aug 3, 2023
1 parent aa4cbf3 commit 040951b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ INSTANTIATE_TEST_SUITE_P(smoke_AutoBatching_CPU, AutoBatching_Test,
::testing::ValuesIn(num_requests),
::testing::ValuesIn(num_batch)),
AutoBatching_Test::getTestCaseName);
// TODO: for 22.2 (CVS-68949)
//INSTANTIATE_TEST_SUITE_P(smoke_AutoBatching_CPU, AutoBatching_Test_DetectionOutput,
// ::testing::Combine(
// ::testing::Values(ov::test::utils::DEVICE_CPU),
// ::testing::ValuesIn(get_vs_set),
// ::testing::ValuesIn(num_streams),
// ::testing::ValuesIn(num_requests),
// ::testing::ValuesIn(num_batch)),
// AutoBatching_Test_DetectionOutput::getTestCaseName);

INSTANTIATE_TEST_SUITE_P(smoke_AutoBatching_CPU, AutoBatching_Test_DetectionOutput,
::testing::Combine(
::testing::Values(ov::test::utils::DEVICE_CPU),
::testing::ValuesIn(get_vs_set),
::testing::ValuesIn(num_streams),
::testing::ValuesIn(num_requests),
::testing::ValuesIn(num_batch)),
AutoBatching_Test_DetectionOutput::getTestCaseName);
} // namespace
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ std::vector<std::string> disabledTestPatterns() {
R"(.*(Auto|Multi|Hetero).*InferRequestPreprocessTest.*SetPreProcessToInferRequest.*)",
// Issue: 113727
R"(.*MatMulCompressedWeights.*)",
// TODO: for 22.2 (CVS-68949)
R"(.*smoke_AutoBatching_CPU/AutoBatching_Test_DetectionOutput.*)",
};

#if defined(OPENVINO_ARCH_X86)
Expand All @@ -212,6 +214,11 @@ std::vector<std::string> disabledTestPatterns() {
retVector.emplace_back(R"(smoke_NegativeQuantizedMatMulMultiplyFusion.*)");
// int8 specific
retVector.emplace_back(R"(smoke_Quantized.*)");
// TODO: fix CVS-115961
retVector.emplace_back(R"(.*compareAutoBatchingToSingleBatch/CPU_get_blob_batch_size_4_num_streams_1_num_req_64*)");
retVector.emplace_back(R"(.*compareAutoBatchingToSingleBatch/CPU_get_blob_batch_size_4_num_streams_2_num_req_64*)");
retVector.emplace_back(R"(.*compareAutoBatchingToSingleBatch/CPU_set_blob_batch_size_4_num_streams_1_num_req_64*)");
retVector.emplace_back(R"(.*compareAutoBatchingToSingleBatch/CPU_set_blob_batch_size_4_num_streams_2_num_req_64*)");
#endif

#if defined(OPENVINO_ARCH_ARM)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,12 @@ class AutoBatching_Test_DetectionOutput : public AutoBatching_Test {
};

TEST_P(AutoBatching_Test, compareAutoBatchingToSingleBatch) {
SKIP_IF_CURRENT_TEST_IS_DISABLED()
TestAutoBatch();
}

TEST_P(AutoBatching_Test_DetectionOutput, compareAutoBatchingToSingleBatch) {
SKIP_IF_CURRENT_TEST_IS_DISABLED()
TestAutoBatch();
}

Expand Down

0 comments on commit 040951b

Please sign in to comment.