Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GPU] Add/enable more Convolution op tests, fix deconv transformation bug, set appropriate test thresholds (#38347)

Mostafaf8b3bee1afe3
diff --git a/src/plugins/intel_gpu/src/graph/graph_optimizer/pre_replace_deconv.cpp b/src/plugins/intel_gpu/src/graph/graph_optimizer/pre_replace_deconv.cpp
index 06acb78eff0..938e9c9ac15 100644
--- a/src/plugins/intel_gpu/src/graph/graph_optimizer/pre_replace_deconv.cpp
+++ b/src/plugins/intel_gpu/src/graph/graph_optimizer/pre_replace_deconv.cpp
@@ -75,19 +75,10 @@ void pre_replace_deconv::run(program& p) {
auto output_padding = deconv_prim->output_paddings[0];
auto grouped_weights_shape = deconv_prim->grouped_weights_shape;
- // remove deconvolution node and its connections to weights and biases, rename it and move to the optimized list
- p.remove_connection(input_node, deconv_node);
- std::vector<std::shared_ptr<program_node>> weight_connections;
- auto weights_iter = p.nodes_map.find(weights_nodes_id.pid);
- OPENVINO_ASSERT(weights_iter != p.nodes_map.end());
-
- auto weights_node_ptr = weights_iter->second;
- weight_connections.push_back(weights_node_ptr);
- p.remove_connection(*weights_node_ptr, deconv_node);
-
ov::CoordinateDiff pad_begin(spatial_rank, 0);
ov::CoordinateDiff pad_end(spatial_rank, 0);
+ bool invalid_pad = false;
for (size_t i = 0; i < spatial_rank; i++) {
auto fs = filter_layout.spatial(spatial_rank - i - 1);
auto out_dim = output_pshape[2 + i].get_length();
@@ -95,8 +86,20 @@ void pre_replace_deconv::run(program& p) {
pad_begin[i] = (fs - 1) - std::abs(pad[i]);
pad_end[i] = (out_dim - 1) * stride[i] + fs - in_dim - pad_begin[i];
+ if (pad_begin[i] < 0 || pad_end[i] < 0) {
+ invalid_pad = true;
+ break;
+ }
+ }
+
+ if (invalid_pad) {
+ continue;
}
+ auto weights_iter = p.nodes_map.find(weights_nodes_id.pid);
+ OPENVINO_ASSERT(weights_iter != p.nodes_map.end());
+ auto weights_node_ptr = weights_iter->second;
+
std::vector<std::shared_ptr<program_node>> bias_connections;
if (biases_nodes_id.is_valid()) {
auto bias_iter = p.nodes_map.find(biases_nodes_id.pid);
@@ -106,7 +109,16 @@ void pre_replace_deconv::run(program& p) {
auto bias_id_node_ptr = bias_iter->second;
bias_connections.push_back(bias_id_node_ptr);
- p.remove_connection(*bias_id_node_ptr, deconv_node);
+ }
+
+ // remove deconvolution node and its connections to weights and biases, rename it and move to the optimized list
+ p.remove_connection(input_node, deconv_node);
+ std::vector<std::shared_ptr<program_node>> weight_connections;
+ weight_connections.push_back(weights_node_ptr);
+ p.remove_connection(*weights_node_ptr, deconv_node);
+
+ for (auto& bias_node_ptr : bias_connections) {
+ p.remove_connection(*bias_node_ptr, deconv_node);
}
auto was_output = deconv_node.is_output();
if (was_output) {
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/convolution_backprop_data_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/convolution_backprop_data_transformation.cpp
index f3fce85653d..d986f208034 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/convolution_backprop_data_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/convolution_backprop_data_transformation.cpp
@@ -9,6 +9,25 @@
using namespace LayerTestsDefinitions;
+namespace LayerTestsDefinitions {
+class ConvolutionBackpropDataTransformationGPU : public ConvolutionBackpropDataTransformation {
+protected:
+ void SetUp() override {
+ ConvolutionBackpropDataTransformation::SetUp();
+ auto [netPrecision, inputShapeAndHandling, outputShape, device, param] = this->GetParam();
+ if (netPrecision == ov::element::f16) {
+ abs_threshold = 0.5;
+ rel_threshold = 0.01;
+ }
+ }
+};
+
+TEST_P(ConvolutionBackpropDataTransformationGPU, CompareWithRefImpl) {
+ SKIP_IF_CURRENT_TEST_IS_DISABLED();
+ run();
+}
+} // namespace LayerTestsDefinitions
+
namespace {
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32,
@@ -107,14 +126,14 @@ const std::vector<ov::Shape> outputShapes_4D = {
{ 16, 16 }
};
-INSTANTIATE_TEST_SUITE_P(smoke_LPT_4D, ConvolutionBackpropDataTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT_4D, ConvolutionBackpropDataTransformationGPU,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(inputShapes_4D),
::testing::ValuesIn(outputShapes_4D),
::testing::Values(ov::test::utils::DEVICE_GPU),
::testing::ValuesIn(params)),
- ConvolutionBackpropDataTransformation::getTestCaseName);
+ ConvolutionBackpropDataTransformationGPU::getTestCaseName);
const std::vector<std::pair<ov::PartialShape, bool>> inputShapes_3D = {
{{ 1, 32, 16, 16 }, true}
@@ -141,12 +160,12 @@ const std::vector<LayerTestsDefinitions::ConvolutionBackpropDataTransformationPa
},
};
-INSTANTIATE_TEST_SUITE_P(smoke_LPT_3D, ConvolutionBackpropDataTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT_3D, ConvolutionBackpropDataTransformationGPU,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(inputShapes_3D),
::testing::ValuesIn(outputShapes_3D),
::testing::Values(ov::test::utils::DEVICE_GPU),
::testing::ValuesIn(params_3D)),
- ConvolutionBackpropDataTransformation::getTestCaseName);
+ ConvolutionBackpropDataTransformationGPU::getTestCaseName);
} // namespace
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/convolution_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/convolution_transformation.cpp
index afa36f9e7ba..66b8be415b5 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/convolution_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/convolution_transformation.cpp
@@ -10,6 +10,25 @@
using namespace LayerTestsDefinitions;
+namespace LayerTestsDefinitions {
+class ConvolutionTransformationGPU : public ConvolutionTransformation {
+protected:
+ void SetUp() override {
+ ConvolutionTransformation::SetUp();
+ auto [netPrecision, inputShape, device, param] = this->GetParam();
+ if (netPrecision == ov::element::f16) {
+ abs_threshold = 0.5;
+ rel_threshold = 0.01;
+ }
+ }
+};
+
+TEST_P(ConvolutionTransformationGPU, CompareWithRefImpl) {
+ SKIP_IF_CURRENT_TEST_IS_DISABLED();
+ run();
+}
+} // namespace LayerTestsDefinitions
+
namespace {
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32,
@@ -115,13 +134,13 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
}
};
-INSTANTIATE_TEST_SUITE_P(smoke_LPT, ConvolutionTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, ConvolutionTransformationGPU,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::Shape({ 1, 3, 16, 16 })),
::testing::Values(ov::test::utils::DEVICE_GPU),
::testing::ValuesIn(params)),
- ConvolutionTransformation::getTestCaseName);
+ ConvolutionTransformationGPU::getTestCaseName);
const std::vector<LayerTestsDefinitions::ConvolutionWIthIncorrectWeightsParam> incorrectWeightsParams = {
// incorrect weights
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_and_two_output_branches_with_convolution.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_and_two_output_branches_with_convolution.cpp
index ab894539764..bc7301d553b 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_and_two_output_branches_with_convolution.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_and_two_output_branches_with_convolution.cpp
@@ -10,6 +10,26 @@
using namespace LayerTestsDefinitions;
using namespace ov::pass::low_precision;
+namespace LayerTestsDefinitions {
+class FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformationGPU :
+ public FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformation {
+protected:
+ void SetUp() override {
+ FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformation::SetUp();
+ auto [netPrecision, inputShape, device, testValues] = this->GetParam();
+ if (netPrecision == ov::element::f16) {
+ abs_threshold = 0.5;
+ rel_threshold = 0.01;
+ }
+ }
+};
+
+TEST_P(FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformationGPU, CompareWithRefImpl) {
+ SKIP_IF_CURRENT_TEST_IS_DISABLED();
+ run();
+}
+} // namespace LayerTestsDefinitions
+
namespace {
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32,
@@ -24,11 +44,11 @@ const std::vector<FakeQuantizeAndTwoOutputBranchesWithConvolution> testValues =
}
};
-INSTANTIATE_TEST_SUITE_P(smoke_LPT, FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformationGPU,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::PartialShape({ 1, 32, 72, 48 })),
::testing::Values(ov::test::utils::DEVICE_GPU),
::testing::ValuesIn(testValues)),
- FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformation::getTestCaseName);
+ FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformationGPU::getTestCaseName);
} // namespace
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/group_convolution_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/group_convolution_transformation.cpp
index ed608f2e48a..603a192f3ec 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/group_convolution_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/group_convolution_transformation.cpp
@@ -9,6 +9,25 @@
using namespace LayerTestsDefinitions;
+namespace LayerTestsDefinitions {
+class GroupConvolutionTransformationGPU : public GroupConvolutionTransformation {
+protected:
+ void SetUp() override {
+ GroupConvolutionTransformation::SetUp();
+ auto [netPrecision, device, inputShapes, param, addPrecisionPreserved] = this->GetParam();
+ if (netPrecision == ov::element::f16) {
+ abs_threshold = 0.5;
+ rel_threshold = 0.01;
+ }
+ }
+};
+
+TEST_P(GroupConvolutionTransformationGPU, CompareWithRefImpl) {
+ SKIP_IF_CURRENT_TEST_IS_DISABLED();
+ run();
+}
+} // namespace LayerTestsDefinitions
+
namespace {
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32,
@@ -79,14 +98,14 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
}
};
-INSTANTIATE_TEST_SUITE_P(smoke_LPT, GroupConvolutionTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, GroupConvolutionTransformationGPU,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::utils::DEVICE_GPU),
::testing::ValuesIn(inputShapes),
::testing::ValuesIn(params),
::testing::ValuesIn(addPrecisionPreserved)),
- GroupConvolutionTransformation::getTestCaseName);
+ GroupConvolutionTransformationGPU::getTestCaseName);
namespace test_values_4d {
const std::vector<std::pair<ov::PartialShape, ov::Shape>> inputShapes = {
@@ -129,14 +148,14 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
},
};
-INSTANTIATE_TEST_SUITE_P(smoke_LPT, GroupConvolutionTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, GroupConvolutionTransformationGPU,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::utils::DEVICE_GPU),
::testing::ValuesIn(inputShapes),
::testing::ValuesIn(params),
::testing::Values(false)),
- GroupConvolutionTransformation::getTestCaseName);
+ GroupConvolutionTransformationGPU::getTestCaseName);
} // namespace test_values_4d
namespace test_values_3d {
@@ -180,14 +199,14 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
},
};
-INSTANTIATE_TEST_SUITE_P(smoke_LPT, GroupConvolutionTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, GroupConvolutionTransformationGPU,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::utils::DEVICE_GPU),
::testing::ValuesIn(inputShapes),
::testing::ValuesIn(params),
::testing::Values(false)),
- GroupConvolutionTransformation::getTestCaseName);
+ GroupConvolutionTransformationGPU::getTestCaseName);
} // namespace test_values_3d
namespace depthwise {
@@ -221,13 +240,13 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
}
};
-INSTANTIATE_TEST_SUITE_P(smoke_LPT, GroupConvolutionTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, GroupConvolutionTransformationGPU,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::utils::DEVICE_GPU),
::testing::ValuesIn(inputShapes),
::testing::ValuesIn(params),
::testing::ValuesIn(addPrecisionPreserved)),
- GroupConvolutionTransformation::getTestCaseName);
+ GroupConvolutionTransformationGPU::getTestCaseName);
} // namespace depthwise
} // namespace
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/convolution.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/convolution.cpp
index 0e1f71b76cb..26b696f7a55 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/convolution.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/convolution.cpp
@@ -7,8 +7,30 @@
#include "single_op_tests/convolution.hpp"
#include "common_test_utils/test_constants.hpp"
+namespace ov {
+namespace test {
+
+class ConvolutionLayerSharedGPUTest : public ConvolutionLayerTest {
+protected:
+ void SetUp() override {
+ ConvolutionLayerTest::SetUp();
+ const auto& [conv_params, model_type, shapes, targetDevice] = this->GetParam();
+ if (model_type == ov::element::f16) {
+ abs_threshold = 0.5;
+ rel_threshold = 0.01;
+ }
+ }
+};
+
+TEST_P(ConvolutionLayerSharedGPUTest, Inference) {
+ run();
+}
+
+} // namespace test
+} // namespace ov
+
namespace {
-using ov::test::ConvolutionLayerTest;
+using ov::test::ConvolutionLayerSharedGPUTest;
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32,
ov::element::f16
@@ -25,13 +47,13 @@ const auto conv1DParams = ::testing::Combine(
::testing::Values(ov::op::PadType::EXPLICIT)
);
-INSTANTIATE_TEST_SUITE_P(smoke_Convolution1D, ConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_Convolution1D, ConvolutionLayerSharedGPUTest,
::testing::Combine(
conv1DParams,
::testing::Values(ov::element::f32),
::testing::Values(ov::test::static_partial_shapes_to_test_representation(std::vector<ov::PartialShape>({{1, 256, 1}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionLayerTest::getTestCaseName);
+ ConvolutionLayerSharedGPUTest::getTestCaseName);
const auto conv1DParams_mux = ::testing::Combine(
::testing::ValuesIn(std::vector<std::vector<size_t>>({{4}, {128}})),
@@ -43,14 +65,14 @@ const auto conv1DParams_mux = ::testing::Combine(
::testing::Values(ov::op::PadType::EXPLICIT)
);
-INSTANTIATE_TEST_SUITE_P(smoke_Convolution1D_B32, ConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_Convolution1D_B32, ConvolutionLayerSharedGPUTest,
::testing::Combine(
conv1DParams_mux,
::testing::ValuesIn({ov::element::f32}),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(std::vector<std::vector<ov::Shape>>(
{{{32, 1, 4102}}, {{32, 16, 4102}}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionLayerTest::getTestCaseName);
+ ConvolutionLayerSharedGPUTest::getTestCaseName);
/* ============= 2D Convolution ============= */
const std::vector<std::vector<size_t >> kernels = {{3, 3},
{3, 5}};
@@ -86,21 +108,21 @@ const auto conv2DParams_AutoPadValid = ::testing::Combine(
::testing::Values(ov::op::PadType::VALID)
);
-INSTANTIATE_TEST_SUITE_P(smoke_Convolution2D_ExplicitPadding, ConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_Convolution2D_ExplicitPadding, ConvolutionLayerSharedGPUTest,
::testing::Combine(
conv2DParams_ExplicitPadding,
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::static_shapes_to_test_representation({{1, 3, 30, 30}})),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionLayerTest::getTestCaseName);
+ ConvolutionLayerSharedGPUTest::getTestCaseName);
-INSTANTIATE_TEST_SUITE_P(smoke_Convolution2D_AutoPadValid, ConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_Convolution2D_AutoPadValid, ConvolutionLayerSharedGPUTest,
::testing::Combine(
conv2DParams_AutoPadValid,
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::static_shapes_to_test_representation({{1, 3, 30, 30}})),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionLayerTest::getTestCaseName);
+ ConvolutionLayerSharedGPUTest::getTestCaseName);
const auto conv2DParams_emb = ::testing::Combine(
::testing::Values(std::vector<size_t>({3, 3})),
@@ -112,13 +134,13 @@ const auto conv2DParams_emb = ::testing::Combine(
::testing::Values(ov::op::PadType::EXPLICIT)
);
-INSTANTIATE_TEST_SUITE_P(smoke_Convolution2D_B32, ConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_Convolution2D_B32, ConvolutionLayerSharedGPUTest,
::testing::Combine(
conv2DParams_emb,
::testing::ValuesIn({ov::element::f32}),
::testing::Values(ov::test::static_shapes_to_test_representation({{32, 64, 128, 199}})),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionLayerTest::getTestCaseName);
+ ConvolutionLayerSharedGPUTest::getTestCaseName);
/* ============= 3D Convolution ============= */
const std::vector<std::vector<size_t >> kernels3d = {{3, 3, 3},
{3, 5, 3}};
@@ -143,11 +165,11 @@ const auto conv3DParams = ::testing::Combine(
::testing::Values(ov::op::PadType::EXPLICIT)
);
-INSTANTIATE_TEST_SUITE_P(smoke_Convolution3D_Basic1, ConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_Convolution3D_Basic1, ConvolutionLayerSharedGPUTest,
::testing::Combine(
conv3DParams,
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::static_shapes_to_test_representation({{1, 3, 10, 10, 10}})),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionLayerTest::getTestCaseName);
+ ConvolutionLayerSharedGPUTest::getTestCaseName);
} // namespace
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/convolution_backprop_data.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/convolution_backprop_data.cpp
index 9dba18a075a..cefdd6d0b86 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/convolution_backprop_data.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/convolution_backprop_data.cpp
@@ -10,7 +10,7 @@
namespace ov {
namespace test {
-class ConvolutionBackpropDataDilationTest : public ConvolutionBackpropDataLayerTest {
+class ConvolutionBackpropDataLayerSharedGPUTest : public ConvolutionBackpropDataLayerTest {
protected:
void SetUp() override {
ConvolutionBackpropDataLayerTest::SetUp();
@@ -26,7 +26,7 @@ protected:
}
};
-TEST_P(ConvolutionBackpropDataDilationTest, Inference) {
+TEST_P(ConvolutionBackpropDataLayerSharedGPUTest, Inference) {
run();
}
@@ -34,8 +34,7 @@ TEST_P(ConvolutionBackpropDataDilationTest, Inference) {
} // namespace ov
namespace {
-using ov::test::ConvolutionBackpropDataLayerTest;
-using ov::test::convBackpropDataLayerTestParamsSet;
+using ov::test::ConvolutionBackpropDataLayerSharedGPUTest;
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32,
@@ -82,23 +81,23 @@ const auto conv2DParams_AutoPadValid = ::testing::Combine(
::testing::ValuesIn(emptyOutputPadding)
);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_ExplicitPadding, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_ExplicitPadding, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv2DParams_ExplicitPadding,
::testing::ValuesIn(netPrecisions2D),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes2D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_AutoPadValid, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_AutoPadValid, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv2DParams_AutoPadValid,
::testing::ValuesIn(netPrecisions2D),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes2D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
const std::vector<std::vector<ptrdiff_t>> outputPadding2D = {{1, 1}, {2, 2}};
const std::vector<std::vector<size_t >> testStrides2D = {{3, 3}};
@@ -124,23 +123,23 @@ const auto conv2DParams_AutoPadValid_output_padding = ::testing::Combine(
::testing::ValuesIn(outputPadding2D)
);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_ExplicitPadding_OutputPaddingDefined, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_ExplicitPadding_OutputPaddingDefined, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv2DParams_AutoPadValid_output_padding,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes2D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_AutoPadding_OutputPaddingDefined, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_AutoPadding_OutputPaddingDefined, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv2DParams_ExplicitPadding_output_padding,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes2D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
/* ============= 3D ConvolutionBackpropData ============= */
@@ -177,23 +176,23 @@ const auto conv3DParams_AutoPadValid = ::testing::Combine(
::testing::ValuesIn(emptyOutputPadding)
);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData3D_ExplicitPadding, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData3D_ExplicitPadding, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv3DParams_ExplicitPadding,
::testing::ValuesIn(netPrecisions3D),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes3D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData3D_AutoPadValid, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData3D_AutoPadValid, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv3DParams_AutoPadValid,
::testing::ValuesIn(netPrecisions3D),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes3D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
const std::vector<std::vector<ptrdiff_t>> outputPadding3D = {{1, 1, 1}, {2, 2, 2}};
const std::vector<std::vector<size_t >> testStrides3D = {{3, 3, 3}};
@@ -219,23 +218,23 @@ const auto conv3DParams_AutoPadValid_output_padding = ::testing::Combine(
::testing::ValuesIn(outputPadding3D)
);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData3D_ExplicitPadding_OutputPaddingDefined, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData3D_ExplicitPadding_OutputPaddingDefined, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv3DParams_AutoPadValid_output_padding,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes3D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData3D_AutoPadding_OutputPaddingDefined, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData3D_AutoPadding_OutputPaddingDefined, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv3DParams_ExplicitPadding_output_padding,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes3D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
const std::vector<size_t> numOutChannels1d = {256};
@@ -265,14 +264,14 @@ const auto conv1DParams_ExplicitPadding_output_padding = ::testing::Combine(
::testing::ValuesIn(outputPadding1D)
);
-INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData1D_ExplicitPadding, ConvolutionBackpropDataLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData1D_ExplicitPadding, ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(
conv1DParams_ExplicitPadding_output_padding,
::testing::ValuesIn(netPrecisions1D),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapes1D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
/* ============= 2D ConvolutionBackpropData with Dilation > 1 ============= */
const std::vector<ov::element::Type> netPrecisionsDilation = {ov::element::f32, ov::element::f16};
@@ -294,14 +293,13 @@ const auto conv2DParams_Dilation_ExplicitPadding = ::testing::Combine(::testing:
::testing::Values(ov::op::PadType::EXPLICIT),
::testing::ValuesIn(emptyOutputPadding));
-using ov::test::ConvolutionBackpropDataDilationTest;
INSTANTIATE_TEST_SUITE_P(smoke_ConvolutionBackpropData2D_Dilation,
- ConvolutionBackpropDataDilationTest,
+ ConvolutionBackpropDataLayerSharedGPUTest,
::testing::Combine(conv2DParams_Dilation_ExplicitPadding,
::testing::ValuesIn(netPrecisionsDilation),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(inputShapesDilation2D)),
::testing::ValuesIn(emptyOutputShape),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- ConvolutionBackpropDataLayerTest::getTestCaseName);
+ ConvolutionBackpropDataLayerSharedGPUTest::getTestCaseName);
} // namespace
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/deformable_convolution.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/deformable_convolution.cpp
index 1f00d13cb4a..a38f640771e 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/deformable_convolution.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/deformable_convolution.cpp
@@ -5,8 +5,30 @@
#include "common_test_utils/test_constants.hpp"
#include "single_op_tests/deformable_convolution.hpp"
+namespace ov {
+namespace test {
+
+class DeformableConvolutionLayerSharedGPUTest : public DeformableConvolutionLayerTest {
+protected:
+ void SetUp() override {
+ DeformableConvolutionLayerTest::SetUp();
+ const auto& [convParams, with_modulation, model_type, shapes, target_device] = this->GetParam();
+ if (model_type == ov::element::f16) {
+ abs_threshold = 0.5;
+ rel_threshold = 0.05;
+ }
+ }
+};
+
+TEST_P(DeformableConvolutionLayerSharedGPUTest, Inference) {
+ run();
+}
+
+} // namespace test
+} // namespace ov
+
namespace {
-using ov::test::DeformableConvolutionLayerTest;
+using ov::test::DeformableConvolutionLayerSharedGPUTest;
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32,
ov::element::f16
@@ -63,27 +85,27 @@ const auto deformableConv2DParams_DeformableGroups_AutoPadExplicit = ::testing::
::testing::ValuesIn(with_bilinear_interpolation_pad));
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_ExplicitPadding, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_ExplicitPadding, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
deformableConv2DParams_ExplicitPadding,
::testing::ValuesIn(with_modulated_scalar),
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::static_shapes_to_test_representation(std::vector<ov::Shape>({{1, 2, 3, 3}, {1, 16, 2, 2}, {2, 2, 2, 2}, {1, 8, 2, 2}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_AutoPadValid, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_AutoPadValid, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
deformableConv2DParams_AutoPadValid,
::testing::ValuesIn(with_modulated_scalar),
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::test::static_shapes_to_test_representation(std::vector<ov::Shape>({{1, 2, 3, 3}, {1, 16, 2, 2}, {2, 2, 2, 2}, {1, 8, 2, 2}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_DeformableGroups_ExplicitPadding, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_DeformableGroups_ExplicitPadding, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
deformableConv2DParams_DeformableGroups_AutoPadExplicit,
::testing::ValuesIn(with_modulated_scalar),
@@ -93,7 +115,7 @@ INSTANTIATE_TEST_SUITE_P(
{16, 16, 3, 3},
{1, 36, 64, 64}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
///* ============= Single Test Case ============= */
const std::vector<std::vector<size_t>> deformable_values_2 = {{1, 54, 28, 28}};
@@ -113,7 +135,7 @@ const auto deformableConv2DParams_SingleTestCase = ::testing::Combine(
);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_SingleTestCase, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_SingleTestCase, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
deformableConv2DParams_SingleTestCase,
::testing::ValuesIn(with_modulated_scalar),
@@ -123,7 +145,7 @@ INSTANTIATE_TEST_SUITE_P(
{1, 3, 3, 3},
{1, 27, 28, 28}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
/* ============= Multiple groups case ============= */
const auto DeformableConvolution2D_MultipleGroups22 = ::testing::Combine(
::testing::ValuesIn(stride_values),
@@ -138,7 +160,7 @@ const auto DeformableConvolution2D_MultipleGroups22 = ::testing::Combine(
);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups22,
::testing::ValuesIn(with_modulated_scalar),
@@ -146,10 +168,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{1, 4, 3, 3}, {1, 16, 2, 2}, {2, 2, 2, 2}, {1, 8, 2, 2}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_Batch2, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_Batch2, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups22,
::testing::ValuesIn(with_modulated_scalar),
@@ -157,10 +179,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{2, 4, 3, 3}, {2, 16, 2, 2}, {2, 2, 2, 2}, {2, 8, 2, 2}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_Batch3, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_Batch3, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups22,
::testing::ValuesIn(with_modulated_scalar),
@@ -168,10 +190,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{3, 4, 3, 3}, {3, 16, 2, 2}, {2, 2, 2, 2}, {3, 8, 2, 2}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_Batch4, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_Batch4, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups22,
::testing::ValuesIn(with_modulated_scalar),
@@ -179,7 +201,7 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{4, 4, 3, 3}, {4, 16, 2, 2}, {2, 2, 2, 2}, {4, 8, 2, 2}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
const auto DeformableConvolution2D_MultipleGroups_41 = ::testing::Combine(
::testing::ValuesIn(stride_values),
@@ -194,7 +216,7 @@ const auto DeformableConvolution2D_MultipleGroups_41 = ::testing::Combine(
);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_2, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_2, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups_41,
::testing::ValuesIn(with_modulated_scalar),
@@ -202,10 +224,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{1, 8, 68, 68}, {1, 18, 66, 66}, {4, 2, 3, 3}, {1, 9, 66, 66}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_2_Batch2, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_2_Batch2, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups_41,
::testing::ValuesIn(with_modulated_scalar),
@@ -213,10 +235,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{2, 8, 68, 68}, {2, 18, 66, 66}, {4, 2, 3, 3}, {2, 9, 66, 66}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_2_Batch3, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_2_Batch3, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups_41,
::testing::ValuesIn(with_modulated_scalar),
@@ -224,10 +246,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{3, 8, 68, 68}, {3, 18, 66, 66}, {4, 2, 3, 3}, {3, 9, 66, 66}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_2_Batch4, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_2_Batch4, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups_41,
::testing::ValuesIn(with_modulated_scalar),
@@ -235,7 +257,7 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{4, 8, 68, 68}, {4, 18, 66, 66}, {4, 2, 3, 3}, {4, 9, 66, 66}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
const auto DeformableConvolution2D_MultipleGroups_42 = ::testing::Combine(
::testing::ValuesIn(stride_values),
@@ -250,7 +272,7 @@ const auto DeformableConvolution2D_MultipleGroups_42 = ::testing::Combine(
);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_3, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_3, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups_42,
::testing::ValuesIn(with_modulated_scalar),
@@ -258,10 +280,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{1, 8, 68, 68}, {1, 36, 66, 66}, {4, 2, 3, 3}, {1, 18, 66, 66}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_3_Batch2, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_3_Batch2, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups_42,
::testing::ValuesIn(with_modulated_scalar),
@@ -269,10 +291,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{2, 8, 68, 68}, {2, 36, 66, 66}, {4, 2, 3, 3}, {2, 18, 66, 66}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_3_Batch3, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_3_Batch3, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups_42,
::testing::ValuesIn(with_modulated_scalar),
@@ -280,10 +302,10 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{3, 8, 68, 68}, {3, 36, 66, 66}, {4, 2, 3, 3}, {3, 18, 66, 66}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(
- smoke_DeformableConvolution2D_MultipleGroups_3_Batch4, DeformableConvolutionLayerTest,
+ smoke_DeformableConvolution2D_MultipleGroups_3_Batch4, DeformableConvolutionLayerSharedGPUTest,
::testing::Combine(
DeformableConvolution2D_MultipleGroups_42,
::testing::ValuesIn(with_modulated_scalar),
@@ -291,5 +313,5 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(ov::test::static_shapes_to_test_representation(
std::vector<ov::Shape>({{4, 8, 68, 68}, {4, 36, 66, 66}, {4, 2, 3, 3}, {4, 18, 66, 66}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- DeformableConvolutionLayerTest::getTestCaseName);
+ DeformableConvolutionLayerSharedGPUTest::getTestCaseName);
} // namespace
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/group_convolution.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/group_convolution.cpp
index 66c7bd4d6da..5ff2496f180 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/group_convolution.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/group_convolution.cpp
@@ -7,8 +7,30 @@
#include "single_op_tests/group_convolution.hpp"
#include "common_test_utils/test_constants.hpp"
+namespace ov {
+namespace test {
+
+class GroupConvolutionLayerSharedGPUTest : public GroupConvolutionLayerTest {
+protected:
+ void SetUp() override {
+ GroupConvolutionLayerTest::SetUp();
+ const auto& [group_conv_params, model_type, shapes, target_device] = this->GetParam();
+ if (model_type == ov::element::f16) {
+ abs_threshold = 0.5;
+ rel_threshold = 0.01;
+ }
+ }
+};
+
+TEST_P(GroupConvolutionLayerSharedGPUTest, Inference) {
+ run();
+}
+
+} // namespace test
+} // namespace ov
+
namespace {
-using ov::test::GroupConvolutionLayerTest;
+using ov::test::GroupConvolutionLayerSharedGPUTest;
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32
@@ -36,14 +58,14 @@ const auto groupConv1DParams_ExplicitPadding = ::testing::Combine(
::testing::Values(ov::op::PadType::EXPLICIT)
);
-INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution1D_ExplicitPadding_Disabled, GroupConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution1D_ExplicitPadding_Disabled, GroupConvolutionLayerSharedGPUTest,
::testing::Combine(
groupConv1DParams_ExplicitPadding,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(
std::vector<std::vector<ov::Shape>>({{{1, 16, 30}}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- GroupConvolutionLayerTest::getTestCaseName);
+ GroupConvolutionLayerSharedGPUTest::getTestCaseName);
const auto dwConv1DParams_ExplicitPadding = ::testing::Combine(
::testing::ValuesIn(kernels1D),
@@ -56,14 +78,14 @@ const auto dwConv1DParams_ExplicitPadding = ::testing::Combine(
::testing::Values(ov::op::PadType::EXPLICIT)
);
-INSTANTIATE_TEST_SUITE_P(smoke_DwGroupConvolution1D_ExplicitPadding, GroupConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_DwGroupConvolution1D_ExplicitPadding, GroupConvolutionLayerSharedGPUTest,
::testing::Combine(
dwConv1DParams_ExplicitPadding,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(
std::vector<std::vector<ov::Shape>>({{{1, 16, 30}}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- GroupConvolutionLayerTest::getTestCaseName);
+ GroupConvolutionLayerSharedGPUTest::getTestCaseName);
/* ============= 2D GroupConvolution ============= */
const std::vector<std::vector<size_t >> kernels = {{3, 3}};
@@ -105,32 +127,32 @@ const auto groupConv2DParams_AutoPadSameUpper = ::testing::Combine(
::testing::Values(ov::op::PadType::SAME_UPPER)
);
-INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution2D_ExplicitPadding, GroupConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution2D_ExplicitPadding, GroupConvolutionLayerSharedGPUTest,
::testing::Combine(
groupConv2DParams_ExplicitPadding,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(
std::vector<std::vector<ov::Shape>>({{{1, 16, 30, 30}}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- GroupConvolutionLayerTest::getTestCaseName);
+ GroupConvolutionLayerSharedGPUTest::getTestCaseName);
-INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution2D_AutoPadValid, GroupConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution2D_AutoPadValid, GroupConvolutionLayerSharedGPUTest,
::testing::Combine(
groupConv2DParams_AutoPadValid,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(
std::vector<std::vector<ov::Shape>>({{{1, 16, 30, 30}}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- GroupConvolutionLayerTest::getTestCaseName);
+ GroupConvolutionLayerSharedGPUTest::getTestCaseName);
-INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution2D_AutoPadSameUpper, GroupConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution2D_AutoPadSameUpper, GroupConvolutionLayerSharedGPUTest,
::testing::Combine(
groupConv2DParams_AutoPadSameUpper,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(
std::vector<std::vector<ov::Shape>>({{{1, 80, 1, 1008}}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- GroupConvolutionLayerTest::getTestCaseName);
+ GroupConvolutionLayerSharedGPUTest::getTestCaseName);
/* ============= 3D GroupConvolution ============= */
const std::vector<std::vector<size_t >> kernels3d = {{3, 3, 3}};
@@ -160,22 +182,22 @@ const auto groupConv3DParams_AutoPadValid = ::testing::Combine(
::testing::Values(ov::op::PadType::VALID)
);
-INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution3D_ExplicitPadding, GroupConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution3D_ExplicitPadding, GroupConvolutionLayerSharedGPUTest,
::testing::Combine(
groupConv3DParams_ExplicitPadding,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(
std::vector<std::vector<ov::Shape>>({{{1, 4, 10, 10, 10}}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- GroupConvolutionLayerTest::getTestCaseName);
+ GroupConvolutionLayerSharedGPUTest::getTestCaseName);
-INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution3D_AutoPadValid, GroupConvolutionLayerTest,
+INSTANTIATE_TEST_SUITE_P(smoke_GroupConvolution3D_AutoPadValid, GroupConvolutionLayerSharedGPUTest,
::testing::Combine(
groupConv3DParams_AutoPadValid,
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(ov::test::static_shapes_to_test_representation(
std::vector<std::vector<ov::Shape>>({{{1, 4, 10, 10, 10}}}))),
::testing::Values(ov::test::utils::DEVICE_GPU)),
- GroupConvolutionLayerTest::getTestCaseName);
+ GroupConvolutionLayerSharedGPUTest::getTestCaseName);
} // namespace
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/group_convolution_backprop_data.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/group_convolution_backprop_data.cpp
index f6cccd14bc7..6941f824823 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/group_convolution_backprop_data.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/single_layer_tests/group_convolution_backprop_data.cpp
@@ -96,6 +96,18 @@ INSTANTIATE_TEST_SUITE_P(smoke_GroupConvBackpropData2D_AutoPadValid, GroupConvBa
::testing::Values(ov::test::utils::DEVICE_GPU)),
GroupConvBackpropLayerTest::getTestCaseName);
+const std::vector<ov::Shape> inputShape2D = {{1, 16, 9, 12}};
+const std::vector<ov::Shape> outputShapes2D = {{6, 6}, {4, 9}};
+
+INSTANTIATE_TEST_SUITE_P(smoke_GroupConvBackpropData2D_OutputShapeDefined, GroupConvBackpropLayerTest,
+ ::testing::Combine(
+ groupConvBackpropData2DParams_AutoPadValid,
+ ::testing::ValuesIn(netPrecisions),
+ ::testing::Values(ov::test::static_shapes_to_test_representation(inputShape2D)),
+ ::testing::ValuesIn(outputShapes2D),
+ ::testing::Values(ov::test::utils::DEVICE_GPU)),
+ GroupConvBackpropLayerTest::getTestCaseName);
+
/* ============= 3D GroupConvolution ============= */
const std::vector<std::vector<ov::Shape>> inputShapes3D = {
{{1, 16, 5, 5, 5}},
@@ -181,4 +193,15 @@ INSTANTIATE_TEST_SUITE_P(smoke_GroupConvBackpropData2D_Dilation,
::testing::Values(ov::test::utils::DEVICE_GPU)),
GroupConvBackpropLayerTest::getTestCaseName);
+const std::vector<ov::Shape> inputShape3D = {{1, 16, 10, 10, 10}};
+const std::vector<ov::Shape> outputShapes3D = {{8, 8, 8}, {10, 10, 10}};
+
+INSTANTIATE_TEST_SUITE_P(smoke_GroupConvBackpropData3D_OutputShapeDefined, GroupConvBackpropLayerTest,
+ ::testing::Combine(
+ groupConvBackpropData3DParams_AutoPadValid,
+ ::testing::ValuesIn(netPrecisions),
+ ::testing::Values(ov::test::static_shapes_to_test_representation(inputShape3D)),
+ ::testing::ValuesIn(outputShapes3D),
+ ::testing::Values(ov::test::utils::DEVICE_GPU)),
+ GroupConvBackpropLayerTest::getTestCaseName);
} // namespace
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp
index ece169830ec..4d561f509da 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp
@@ -16,10 +16,7 @@ bool isGPU1Present() {
std::string deviceID{"1"};
ov::Core ie = ov::test::utils::create_core();
auto deviceIDs = ie.get_property(target_device, ov::available_devices);
- if (std::find(deviceIDs.begin(), deviceIDs.end(), deviceID) == deviceIDs.end()) {
- return false;
- }
- return true;
+ return std::find(deviceIDs.begin(), deviceIDs.end(), deviceID) != deviceIDs.end();
}
bool immadSupported() {
@@ -94,36 +91,10 @@ const std::vector<std::regex>& disabled_test_patterns() {
std::regex(R"(smoke_MemoryTestV3.*)"),
// by calc abs_threshold with expected value
std::regex(R"(.*smoke_CTCLoss_Set2/CTCLossLayerTest.Inference/IS=\(\[\]\)_TS=\{\(3.6.8\)\}_LL=\(6.5.6\)_A=\(4.1.2.3.4.5\)\(5.4.3.0.1.0\)\(2.1.3.1.3.0\)_AL=\(3.3.5\)_BI=7_PCR=1_CMR=1_U=0_PF=f32_PI=i64.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=.*1.16.10.10.*_OS=\(\)_K\(1.1\)_S\(1.3\).*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=.*1.32.10.10.*_OS=\(\)_K\(1.1\)_S\(1.3\).*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=.*1.3.30.30.*_OS=\(\)_K\(1.1\)_S\(1.3\).*O=16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_AutoPadValid/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=\{\((1\.32\.10\.10|1\.16\.10\.10)\)\}_OS=\(\)_K\(1.1\)_S\(1.3\)_PB\(0.0\)_PE\(0.0\)_D=\(1.1\)_OP=\(\)_O=(1|5|16)_AP=valid_netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_AutoPadValid/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=.*1.3.30.30.*_OS=\(\)_K\(1.1\)_S\(1.3\)_PB\(0.0\)_PE\(0.0\)_D=\(1.1\)_OP=\(\)_O=16_AP=valid_netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=\{\((1.32.10.10|1.16.10.10|1.3.30.30)\)\}_OS=\(\)_K\(1.1\)_S\(3.3\)_PB\(0.0\)_PE\(0.0\)_D=\(1.1\)_OP=\((1.1|2.2)\)_O=(1|5|16)_AP=valid_netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=\{\((1.32.10.10|1.16.10.10|1.3.30.30)\)\}_OS=\(\)_K\(1.1\)_S\(3.3\)_PB\(0.0\)_PE\((0.0|1.1)\)_D=\(1.1\)_OP=\((1.1|2.2)\)_O=(1|5|16).*)"),
std::regex(R"(.*smoke_GridSample/GridSampleLayerTest.Inference/DS=\((5.2.3.5|5.3.4.6)\)_GS=\((5.7.3.2|5.2.8.2)\)_align_corners=(0|1)_Mode=(bilinear|bicubic)_padding_mode=zeros_model_type=f16_grid_type=f32.*)"),
std::regex(R"(.*smoke_MatMul_BothTranspose/MatMulLayerTest.Inference/IS=\(\[\]_\[\]\)_TS=\{\(5\)_\(5\)\}_transpose_a=1_transpose_b=1_secondary_input_type=(CONSTANT|PARAMETER)_modelType=(f16|f32).*)"),
std::regex(R"(.*smoke_dynamic_conv_reshape_fullyconnected/ConvReshapeFullyConnectedDynamicGPUTestDynamic.Inference/IS=\[\?\.64\.1\.\?\.\?\]_\[1\.64\.1\.1\.1\]_model_type=f16.*)"),
std::regex(R"(.*smoke_empty_tensor/EmptyTensorDynamicGPUTest.Inference/IS=\[\?\]_\[30\]_\[40\]_\[50\]_\[10\]_\[7\]_\[\?.\?\]_\[1.0\]_\[1.8\]_\[1.0\]_\[1.3\]_\[1.20\]_NetType=i32.*)"),
- std::regex(R"(.*smoke_Convolution2D_ExplicitPadding/ActivatiConvolutionLayerTestonLayerTest.Inference.*netPRC=f16.*)"),
- std::regex(R"(.*smoke_Convolution2D_AutoPadValid/ConvolutionLayerTest.Inference.*netPRC=f16.*)"),
- std::regex(R"(.*smoke_Convolution3D_Basic1/ConvolutionLayerTest.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding/ConvolutionBackpropDataLayerTest.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_AutoPadValid/ConvolutionBackpropDataLayerTest.*K\((3.5|3.3)\).*netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.*K\((3.5|3.3)\).*netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*K\((3.5|3.3)\).*PE\(1.1\).*netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*TS=\{\(1.32.10.10\).*K\((3.5|3.3)\).*PE\(0.0\).*netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*TS=\{\((1.3.30.30|1.16.10.10)\).*K\(3.5\).*PE\(0.0\).*netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData2D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*TS=\{\((1.3.30.30|1.16.10.10)\).*K\(3.3\).*PE\(0.0\).*O=(1|5|16)_AP=explicit_netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData3D_ExplicitPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*TS=\{\((1.16.5.5.5|1.32.5.5.5)\)\}.*O=(1|5)_AP=valid_netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData3D_ExplicitPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference.*O=16_AP=valid_netPRC=f16.*)"),
- std::regex(R"(.*moke_ConvolutionBackpropData3D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*TS=\{\((1.16.5.5.5|1.32.5.5.5)\)\}.*O=(1|5)_AP=valid_netPRC=f16.*)"),
- std::regex(R"(.*moke_ConvolutionBackpropData3D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference.*O=16_AP=valid_netPRC=f16.*)"),
- std::regex(R"(.*smoke_DeformableConvolution2D_ExplicitPadding/DeformableConvolutionLayerTest.Inference.*O=(1|5)_AP=explicit_BI_PAD=0_MODULATION=1_netPRC=f16.*)"),
- std::regex(R"(.*smoke_DeformableConvolution2D_AutoPadValid/DeformableConvolutionLayerTest.Inference.*O=(1|5)_AP=valid_BI_PAD=0_MODULATION=1_netPRC=f16.*)"),
- std::regex(R"(.*smoke_DeformableConvolution2D_DeformableGroups_ExplicitPadding/DeformableConvolutionLayerTest.Inference.*O=(1|5)_AP=explicit_BI_PAD=(0|1)_MODULATION=(0|1)_netPRC=f16.*)"),
- std::regex(R"(.*smoke_DeformableConvolution2D_SingleTestCase/DeformableConvolutionLayerTest.Inference.*O=(1|5)_AP=explicit_BI_PAD=(0|1)_MODULATION=(0|1)_netPRC=f16.*)"),
- std::regex(R"(.*smoke_DeformableConvolution2D_MultipleGroup.*/DeformableConvolutionLayerTest.Inference.*O=(1|5)_AP=explicit_BI_PAD=(0|1)_MODULATION=(0|1)_netPRC=f16.*)"),
std::regex(R"(.*smoke_DFT_5d/DFTLayerTest.Inference/IS=\(\[\]\)_TS=\{\(10.4.8.2.2\)\}_Precision=f32_Axes=\(0.1.2.3\)_signal_size=\(\)_Inverse=0.*)"),
std::regex(R"(.*smoke_DFT_6d/DFTLayerTest.Inference/IS=\(\[\]\)_TS=\{\(10.4.8.2.5.2\)\}_Precision=f32_Axes=\(0.1.2.3.4\)_signal_.*_Inverse=0.*)"),
std::regex(R"(.*smoke_ConvolutionLayerGPUTest_ExplicitPad1D/ConvolutionLayerGPUTestDynamic.*netPRC=f16.*)"),
@@ -149,15 +120,12 @@ const std::vector<std::regex>& disabled_test_patterns() {
std::regex(R"(.*moke_Decomposition_3D/Mvn6LayerGPUTest.Inference.*TS=\{\(1.37.9\)\}_ModelType=(f16|bf16).*AxType=.*_Ax=\(1\).*)"),
std::regex(R"(.*smoke_Decomposition_4D/Mvn6LayerGPUTest.Inference/.*TS=\{\(2.19.5.10\)\}_ModelType=f32_AxType=(i32|i64)_Ax=\((0.3|3)\)_NormVariance=FALSE.*)"),
std::regex(R"(.*smoke_Decomposition_4D/Mvn6LayerGPUTest.Inference/.*TS=\{\(2.19.5.10\)\}_ModelType=(f16|bf16).*AxType=(i32|i64)_Ax=\(0.3\)_NormVariance=TRUE.*)"),
- std::regex(R"(.*smoke_Convolution2D_ExplicitPadding/ConvolutionLayerTest.*netPRC=f16.*)"),
std::regex(R"(.*smoke_SwiGLUFusion_basic/SwiGLUFusion.Inference.*/IS=\(\[\?.\?.96\]_\)_.*_input_precision=f16.*)"),
std::regex(R"(.*smoke_dynamic_reduce_deconv_concat/ReduceDeconvConcatDynamicGPUTest.Inference/IS=\[1.32.64.\?.\?\]_\[1.32.64.64.64\]_\[1.8.128.\?.\?.4\]_\[1.8.128.128.128.4\]_model_type=f16.*)"),
std::regex(R"(.*smoke_GPU_Dynamic/KVCacheTest.Inference.*_precision=f16.*)"),
std::regex(R"(.*smoke_dynamic_shapeof_activation_sqrt/shapeofActivationDynamicGPUTest.Inference/IS=\[\?.\?.1.64\]_\[1.3136.1.64\]_\[1.49.1.64\]_\[2.49.1.64\]_NetType=f16_targetDevice=GPU_activatioinType=23_inShape=\(\)_constantValue=\(\).*)"),
- std::regex(R"(.*smoke_GroupConvolutionLayerGPUTest_dynamic2D.*/GroupConvolutionLayerGPUTestDynamic.Inference/.*_netPRC=f16.*)"),
std::regex(R"(.*smoke_(DFT|IDFT|IRDFT)_GPU_4D/DFTLayerGPUTest.CompareWithRefs.*)"),
std::regex(R"(.*smoke_RDFT_GPU_4D/DFTLayerGPUTest.CompareWithRefs/prec=(f32|f16)_IS0=\[\?.\?.\?.\?\]_TS0=\(\(1.192.36.64\)\)_IS1=\[\?\]_TS1=\(\(1\)\)_IS2=\[\?\]_TS2=\(\(1\)\).*)"),
- std::regex(R"(.*smoke_ConvolutionLayerGPUTest_dynamic.*ConvolutionLayerGPUTestDynamic.*netPRC=f16.*)"),
std::regex(R"(.*smoke_NoReshape/SplitConvConcat.CompareWithRefImpl/IS=\(1.6.40.40\)_ET=f16_.*)"),
std::regex(R"(.*smoke_basic/PermConvPermConcat.CompareWithRefs/IS=\(1.1.7.32\)_KS=\(1.3\)_OC=(32|64)_ET=f32.*)"),
std::regex(R"(.*smoke_basic/PermConvPermConcat.CompareWithRefs/IS=\(1.1.8.16\)_KS=\(1.5\)_OC=(32|64)_ET=f32.*)"),
@@ -170,11 +138,6 @@ const std::vector<std::regex>& disabled_test_patterns() {
std::regex(R"(.*smoke_MatMul_SecondTranspose/MatMulLayerTest.Inference/.*_TS=\{\(1.64.80\)_\(1.77.80\)\}_.*_modelType=f16_.*)"),
std::regex(R"(.*smoke_MatMul_SecondTranspose/MatMulLayerTest.Inference/.*_TS=\{\(65.100\)_\(73.100\)\}_.*_modelType=f16_.*)"),
std::regex(R"(.*smoke_MatMul_BothTranspose/MatMulLayerTest.Inference/.*_TS=\{\(100.65\)_\(73.100\)\}_.*_modelType=f16_.*)"),
- std::regex(R"(.*smoke_Convolution2D_ExplicitPadding/ConvolutionLayerTest.Inference/.*_TS=\{\(1.3.30.30\)\}_K\(3.5\)_.*_O=5_AP=explicit_netPRC=f16.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData3D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*_TS=\{\(1.3.10.10.10\)\}_.*_PE\((0.0.0|1.1.1)\)_D=\(1.1.1\)_OP=\((1.1.1|2.2.2)\)_O=16_AP=explicit_netPRC=f16_.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData3D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*_TS=\{\(1.32.5.5.5\)\}_.*_netPRC=f16_.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData3D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*_TS=\{\(1.16.5.5.5\)\}_.*_netPRC=f16_.*)"),
- std::regex(R"(.*smoke_ConvolutionBackpropData3D_AutoPadding_OutputPaddingDefined/ConvolutionBackpropDataLayerTest.Inference/.*_TS=\{\(1.16.5.5.5\)\}_.*_netPRC=f16_.*)"),
std::regex(R"(.*smoke_PSROIPooling_average/PSROIPoolingLayerTest.Inference/IS=\(3.8.16.16\)_coord_shape=\(10.5\)_out_dim=2_group_size=2_scale=(0.625|1)_bins_x=1_bins_y=1_mode=average_modelType=f16.*)"),
std::regex(R"(.*smoke_RDFT_5d_last_axis/RDFTLayerTest.Inference/IS=\(10.4.8.2.5\)_modelType=f32_Axes=\(0.1.2.3.4\)_SignalSize=\(\).*)"),
// Issue: 136862
diff --git a/src/plugins/intel_gpu/tests/functional/single_layer_tests/dynamic/groupconvolution.cpp b/src/plugins/intel_gpu/tests/functional/single_layer_tests/dynamic/groupconvolution.cpp
index a51cd21ab78..0b16ceca350 100644
--- a/src/plugins/intel_gpu/tests/functional/single_layer_tests/dynamic/groupconvolution.cpp
+++ b/src/plugins/intel_gpu/tests/functional/single_layer_tests/dynamic/groupconvolution.cpp
@@ -15,12 +15,12 @@ namespace {
using ov::test::InputShape;
using ov::test::groupConvSpecificParams;
-typedef std::tuple<
+using groupConvLayerTestParamsSet = std::tuple<
groupConvSpecificParams,
ov::element::Type, // Model type
InputShape, // Input shape
std::string // Device name
-> groupConvLayerTestParamsSet;
+>;
class GroupConvolutionLayerGPUTestDynamic : public testing::WithParamInterface<groupConvLayerTestParamsSet>,
virtual public ov::test::SubgraphBaseTest {
@@ -73,6 +73,11 @@ protected:
results.push_back(std::make_shared<ov::op::v0::Result>(groupConvolutionNode->output(i)));
function = std::make_shared<ov::Model>(results, inputParams, "GroupConvolution");
+
+ if (model_type == ov::element::f16) {
+ abs_threshold = 0.5;
+ rel_threshold = 0.01;
+ }
}
};