Skip to content

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

[LPT][GPU] Reenable some GPU tests (#30640)

Vladislav Golubevd52053dafc0c
diff --git a/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp b/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp
index 24eb9908154..77ab99dafdc 100644
--- a/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp
+++ b/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp
@@ -31,6 +31,7 @@
#include "low_precision/pull_reshape_through_dequantization.hpp"
#include "low_precision/pull_transpose_through_dequantization.hpp"
#include "low_precision/recurrent_cell.hpp"
+#include "low_precision/prelu.hpp"
#include "low_precision/rt_info/bias_attribute.hpp"
#include "low_precision/strided_slice.hpp"
#include "low_precision/transpose.hpp"
@@ -921,8 +922,10 @@ void TransformationsPipeline::apply(std::shared_ptr<ov::Model> func) {
ov::pass::Manager lptManager("GPU:LPT");
auto lptPassConfig = lptManager.get_pass_config();
- // quantized LSTMSequence / GPUSequence are not supported yet. Avoid extra transformation
+ // Ticket 168016: quantized LSTMSequence / GPUSequence are not supported yet. Avoid extra transformation
lptPassConfig->disable<ov::pass::low_precision::RecurrentCellTransformation>();
+ // Ticket 168015: Low precision PRelu is not supported on GPU
+ lptPassConfig->disable<ov::pass::low_precision::PReluTransformation>();
lptPassConfig->set_callback<ConvolutionBackpropDataTransformation>([func, defaultPrecisions](const_node_ptr& node) -> bool {
auto fillStaticChannel = [func](const ov::PartialShape& shape, size_t& channel) -> bool {
const auto rank = shape.rank();
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 7c9fdc2b282..44893eeb8eb 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
@@ -27,7 +27,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
{},
false,
"Convolution",
- "FP32"
+ "f32"
},
{
{},
@@ -35,7 +35,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
{ 255ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 254.f }, { -12.7f }, { 12.7f } },
false,
"Convolution",
- "FP32"
+ "f32"
},
{
{ 256ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 255.f }, { 0.f }, { 25.5f } },
@@ -43,7 +43,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
{ 255ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 254.f }, { -12.7f }, { 12.7f } },
false,
"Convolution",
- "U8"
+ "u8"
},
{
{ 256ul, ov::Shape {}, { 0.f }, { 255.f }, { 0.f }, { 25.5f } },
@@ -51,7 +51,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
{ 255ul, ov::Shape {}, { 0.f }, { 254.f }, { -12.7f }, { 12.7f } },
false,
"Convolution",
- "U8"
+ "u8"
},
{
{ 256ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 255.f }, { -12.75f }, { 6.375f } },
@@ -59,7 +59,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
{ 255ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 254.f }, { -12.7f }, { 12.7f } },
false,
"Convolution",
- "U8"
+ "u8"
},
{
{ 256ul, ov::Shape { 1 }, { 0.f }, { 255.f }, { -18.7f }, { 18.8f } },
@@ -70,7 +70,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
},
false,
"Convolution",
- "U8"
+ "u8"
},
{
{ 256ul, ov::Shape { 1 }, { 0.f }, { 255.f }, { -18.7f }, { 18.8f } },
@@ -82,7 +82,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
},
false,
"Convolution",
- "U8"
+ "u8"
},
// not supported quantization level on data
{
@@ -91,7 +91,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
{ 255ul, ov::Shape{1, 1, 1, 1}, {0.f}, {254.f}, {-12.7f}, {12.7f}},
false,
"Convolution",
- "FP32"
+ "f32"
},
// not supported quantization level on data & weights
{
@@ -100,7 +100,7 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
{ 65536ul, ov::Shape{1, 1, 1, 1}, {0.f}, {254.f}, {-12.7f}, {12.7f}},
false,
"Convolution",
- "FP32"
+ "f32"
},
// not supported quantization level on weights
{
@@ -109,15 +109,13 @@ const std::vector<LayerTestsDefinitions::ConvolutionTransformationParam> params
{ 65536ul, ov::Shape{1, 1, 1, 1}, {0.f}, {254.f}, {-12.7f}, {12.7f}},
false,
"Convolution",
- "FP32"
+ "f32"
},
{
{ 256ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 0.f }, { 0.f }, { 0.f } },
false,
{ 255ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 254.f }, { -12.7f }, { 12.7f } },
false,
- "Convolution",
- "u8"
}
};
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/elementwise_branch_selection_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/elementwise_branch_selection_transformation.cpp
index ab605d688fc..5cef0987d24 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/elementwise_branch_selection_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/elementwise_branch_selection_transformation.cpp
@@ -42,9 +42,9 @@ const std::vector<LayerTestsDefinitions::ElementwiseBranchSelectionTestValues> p
{ 256ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 2.55f }, { 0.f }, { 2.55f } },
{}, // GPU doesn't returns Reorders in performance counters
{
- {"convolution1", "U8"},
- {"convolution2", "U8"},
- {"eltwise", "U8"}
+ {"convolution1", "u8"},
+ {"convolution2", "u8"},
+ {"eltwise", "u8"}
}
},
{
@@ -69,9 +69,9 @@ const std::vector<LayerTestsDefinitions::ElementwiseBranchSelectionTestValues> p
{ 256ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 2.55f }, { 0.f }, { 2.55f } },
{}, // GPU doesn't returns Reorders in performance counters
{
- {"convolution1", "U8"},
- {"convolution2", "U8"},
- {"eltwise", "U8"}
+ {"convolution1", "u8"},
+ {"convolution2", "u8"},
+ {"eltwise", "u8"}
}
}
};
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_precision_selection_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_precision_selection_transformation.cpp
index cbc4f790d06..a116e0bfeaa 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_precision_selection_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_precision_selection_transformation.cpp
@@ -56,8 +56,7 @@ const std::vector<FakeQuantizePrecisionSelectionTransformationTestValues> testVa
},
};
-// GPU issue
-INSTANTIATE_TEST_SUITE_P(DISABLED_LPT, FakeQuantizePrecisionSelectionTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, FakeQuantizePrecisionSelectionTransformation,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::Values(ov::PartialShape({ 1, 32, 72, 48 })),
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_transformation.cpp
index 6f289cf5354..f14f6c4e1cd 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/fq_transformation.cpp
@@ -33,15 +33,15 @@ const std::vector<LayerTransformation::Params> trasformationParamValues = {
const std::vector<FakeQuantizeTransformationParam> fakeQuantizeOnDataValues = {
{
{256ul, {}, {0.f}, {2.55f}, {0.f}, {2.55f}},
- "Pooling", "U8"
+ "Pooling", "u8"
},
{
{ 256ul, { {1ul}, {1ul}, {1ul}, {1ul} }, { 0.f }, { 2.55f }, { 0.f }, { 2.55f } },
- "Pooling", "U8"
+ "Pooling", "u8"
},
{
{ 256ul, {}, { 0.f }, { 2.55f }, { -1.28f }, { 1.27f } },
- "Pooling", "I8"
+ "Pooling", "i8"
},
// nGraph: dot interval FQ node is being const-folded, so does Pooling
{
@@ -50,15 +50,15 @@ const std::vector<FakeQuantizeTransformationParam> fakeQuantizeOnDataValues = {
},
{
{ 256ul, {}, { -127.5f }, { 0.f }, { -127.5f }, { 0.f } },
- "Pooling", "U8"
+ "Pooling", "u8"
},
{
{ 16ul, {}, { 0.f }, { 1.5f }, { 0.f }, { 1.5f } },
- "Pooling", "U8"
+ "Pooling", "u8"
},
{
{ 16ul, {}, { -8.f }, { 7.f }, { -0.8f }, { 0.7f } },
- "Pooling", "I8"
+ "Pooling", "i8"
},
// nGraph: I8->FP32 Convert is not supported
// { 256ul, {}, { -1.28f} , { 1.27f }, { -1.28f} , { 1.27f } },
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 d153e0cb452..6b76743095d 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
@@ -34,7 +34,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
{ 255ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 254.f }, { -127.f }, { 127.f } },
true,
"Convolution",
- "U8"
+ "u8"
},
// group convolution, tensor quantization
{
@@ -44,7 +44,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
{ 255ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 254.f }, { -127.f }, { 127.f } },
true,
"Convolution",
- "U8"
+ "u8"
},
// group convolution, tensor quantization
{
@@ -54,7 +54,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
{ 255ul, ov::Shape { 1, 1, 1, 1 }, { 0.f }, { 254.f }, { -127.f }, { 127.f } },
true,
"Convolution",
- "U8"
+ "u8"
},
// group convolution, per-channel quantization
{
@@ -107,7 +107,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
{ 255ul, ov::Shape { 3, 8, 1, 1, 1 }, { -127.f }, { 127.f }, { -127.f }, { 127.f } },
false,
"Convolution",
- "U8"
+ "u8"
},
// group convolution without reshape, per channel quantization with different values
{
@@ -130,7 +130,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
},
false,
"Convolution",
- "U8"
+ "u8"
},
};
@@ -159,7 +159,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
{ 255ul, ov::Shape { 3, 8, 1, 1 }, { -127.f }, { 127.f }, { -127.f }, { 127.f } },
false,
"Convolution",
- "U8"
+ "u8"
},
// group convolution without reshape, per channel quantization with different values
{
@@ -182,7 +182,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionTransformationParam> pa
},
false,
"Convolution",
- "U8"
+ "u8"
},
};
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/groupconvolution_qdq_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/groupconvolution_qdq_transformation.cpp
index fe309c03f56..2d8bd14a773 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/groupconvolution_qdq_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/groupconvolution_qdq_transformation.cpp
@@ -80,7 +80,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionQDqTransformationParam>
},
{ {3, 2, 2, 5, 5} },
"output_original",
- "fp32",
+ "f32",
false,
},
@@ -144,7 +144,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionQDqTransformationParam>
},
{ {3, 2, 2, 5, 5} },
"output_original",
- "fp32",
+ "f32",
true,
},
@@ -308,7 +308,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionQDqTransformationParam>
},
{ {3, 2, 2, 5, 5} },
"output_original",
- "fp32",
+ "f32",
false,
},
@@ -368,7 +368,7 @@ const std::vector<LayerTestsDefinitions::GroupConvolutionQDqTransformationParam>
},
{ {3, 2, 2, 5, 5} },
"output_original",
- "fp32",
+ "f32",
true,
},
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/mat_mul_with_constant_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/mat_mul_with_constant_transformation.cpp
index 6d97cb5a52d..161d6ca0ba3 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/mat_mul_with_constant_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/mat_mul_with_constant_transformation.cpp
@@ -23,7 +23,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{ 256ul, {{2, 1}, {2, 1}, {2, 1}, {2, 1}}, {-128.f, -12.8f}, {127.f, 12.7f}, {-128.f, -12.8f}, {127.f, 12.7f} },
{ {}, {}, {} },
"FullyConnected",
- "U8"
+ "u8"
},
{
{ 2, 3, 4 },
@@ -32,7 +32,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{},
{ ov::element::f32, {}, {0.1f} },
"FullyConnected",
- "U8"
+ "u8"
},
{
{ 1, 3, 4 },
@@ -41,7 +41,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{ 256ul, {{2, 1}, {2, 1}, {2, 1}, {2, 1}}, {-128.f, -12.8f}, {127.f, 12.7f}, {-128.f, -12.8f}, {127.f, 12.7f} },
{ {}, {}, {} },
"FullyConnected",
- "U8"
+ "u8"
},
{
{ 1, 1, 3, 4 },
@@ -50,7 +50,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{ 256ul, {{2, 1}, {2, 1}, {2, 1}, {2, 1}}, {-128.f, -12.8f}, {127.f, 12.7f}, {-128.f, -12.8f}, {127.f, 12.7f} },
{ {}, {}, {} },
"FullyConnected",
- "U8"
+ "u8"
},
{
{ 1, 1, 3, 4 },
@@ -59,7 +59,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{},
{ ov::element::f32, {}, {{0.1f, 0.01}, ov::element::f32, ov::Shape{ 2, 1 }} },
"FullyConnected",
- "U8"
+ "u8"
},
{
{ 1, 3, 4 },
@@ -68,7 +68,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{ 256ul, {{1}, {1}, {1}, {1}}, {-128.f}, {127.f}, {-128.f}, {127.f} },
{ {}, {}, {} },
"FullyConnected",
- "U8"
+ "u8"
},
{
{ 2, 3 },
@@ -77,7 +77,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{ 256ul, {{1}, {1}, {1}, {1}}, {-128.f}, {127.f}, {-12.8f}, {12.7f} },
{ {}, {}, {} },
"FullyConnected",
- "U8"
+ "u8"
},
{
{ 2, 3 },
@@ -86,7 +86,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{},
{ ov::element::f32, {}, {0.1f} },
"FullyConnected",
- "U8"
+ "u8"
},
{
{ 2, 3 },
@@ -95,7 +95,7 @@ std::vector<MatMulWithConstantTransformationTestValues> testValues = {
{},
{ ov::element::f32, {}, {0.1f} },
"FullyConnected",
- "U8"
+ "u8"
},
};
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/move_fake_quantize_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/move_fake_quantize_transformation.cpp
index 9bee7d815bf..72b83368475 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/move_fake_quantize_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/move_fake_quantize_transformation.cpp
@@ -28,7 +28,7 @@ const std::vector<LayerTestsDefinitions::MoveFakeQuantizeTransformationParam> pa
{},
{},
"Concat",
- "U8",
+ "u8",
1,
},
// with ReLU operation
@@ -39,7 +39,7 @@ const std::vector<LayerTestsDefinitions::MoveFakeQuantizeTransformationParam> pa
{},
{},
"Concat",
- "U8",
+ "u8",
1
},
// negative axis
@@ -50,7 +50,7 @@ const std::vector<LayerTestsDefinitions::MoveFakeQuantizeTransformationParam> pa
{},
{},
"Concat",
- "FP32",
+ "i8",
0
},
// Q/DQ
@@ -65,7 +65,7 @@ const std::vector<LayerTestsDefinitions::MoveFakeQuantizeTransformationParam> pa
{ 0.01f }
},
"Concat",
- "U8",
+ "u8",
1
},
// Q/DQ with ReLU
@@ -80,7 +80,7 @@ const std::vector<LayerTestsDefinitions::MoveFakeQuantizeTransformationParam> pa
{ 0.01f }
},
"Concat",
- "U8",
+ "u8",
1
},
// multi chanel
@@ -96,7 +96,7 @@ const std::vector<LayerTestsDefinitions::MoveFakeQuantizeTransformationParam> pa
{},
{},
"Concat",
- "U8",
+ "u8",
1
},
// Q/DQ with multi-channels
@@ -118,7 +118,7 @@ const std::vector<LayerTestsDefinitions::MoveFakeQuantizeTransformationParam> pa
{ {0.01f, 0.01f, 0.01f}, ov::element::f32, {1, 3, 1, 1} }
},
"Concat",
- "U8",
+ "u8",
1
},
// Q/DQ with multi-channels subtruct
@@ -140,7 +140,7 @@ const std::vector<LayerTestsDefinitions::MoveFakeQuantizeTransformationParam> pa
{ 0.01f }
},
"Concat",
- "U8",
+ "u8",
1
},
};
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/multiply_to_group_convolution_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/multiply_to_group_convolution_transformation.cpp
index af1e7fc1849..d22f31c7592 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/multiply_to_group_convolution_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/multiply_to_group_convolution_transformation.cpp
@@ -19,19 +19,19 @@ const std::vector<MultiplyToGroupConvolutionTransformationParam> params = {
{{256ul, ov::Shape{1, 1, 1, 1}, {0.f}, {25.5f}, {0.f}, {25.5f}},
{{1.f, 2.f, 3.f}, ov::element::f32, Shape{1, 3, 1, 1}},
"output/GroupConvolution",
- "U8",
+ "u8",
false},
// zero point
{{256ul, ov::Shape{1, 1, 1, 1}, {-1.28f}, {1.27f}, {-1.28f}, {1.27f}},
{{1.f, 2.f, 3.f}, ov::element::f32, Shape{1, 3, 1, 1}},
"output/GroupConvolution",
- "I8",
+ "i8",
false},
// zero point
{{256ul, ov::Shape{1, 1, 1, 1}, {-1.28f}, {1.27f / 2.f}, {-1.28f}, {1.27f / 2.f}},
{{1.f, 2.f, 3.f}, ov::element::f32, Shape{1, 3, 1, 1}},
"output/GroupConvolution",
- "U8",
+ "u8",
false},
// Multiply => GroupConvolution optimizations
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/prelu_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/prelu_transformation.cpp
index 4097c96d0c9..865eb569009 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/prelu_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/prelu_transformation.cpp
@@ -23,8 +23,7 @@ std::vector<PReluTestValues> testValues = {
{ { 256ul, ov::Shape({}), {-12.8f / 2.f}, {12.7f}, {-12.8f / 2.f}, {12.7f} }, true }
};
-// PRelu in low precision is not supported in GPU
-INSTANTIATE_TEST_SUITE_P(DISABLED_LPT, PReluTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, PReluTransformation,
::testing::Combine(
::testing::ValuesIn(precisions),
::testing::Values(ov::PartialShape({ 1, 3, 16, 16 })),
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/pull_reshape_through_dequantization.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/pull_reshape_through_dequantization.cpp
index 9a641d31728..c6f114bb61c 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/pull_reshape_through_dequantization.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/pull_reshape_through_dequantization.cpp
@@ -38,7 +38,7 @@ const std::vector<PullReshapeThroughDequantizationTestValues> params = {
ov::element::f32,
{},
"output_original",
- "U8"
+ "u8"
},
{
ov::element::f32,
@@ -57,7 +57,7 @@ const std::vector<PullReshapeThroughDequantizationTestValues> params = {
ov::element::f32,
{},
"output_original",
- "FP32"
+ "f32"
}
};
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/recurrent_cell_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/recurrent_cell_transformation.cpp
index 85f8d79e7ac..8e456849294 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/recurrent_cell_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/recurrent_cell_transformation.cpp
@@ -11,7 +11,6 @@ using namespace LayerTestsDefinitions;
const std::vector<ov::element::Type> netPrecisions = {
ov::element::f32,
- ov::element::f16
};
const std::vector<ov::pass::low_precision::LayerTransformation::Params> trasformationParamValues = {
@@ -48,8 +47,8 @@ const std::vector<LayerTestsDefinitions::RecurrentCellTransformationParam> param
{},
{{}, {}, {}},
ov::builder::subgraph::RecurrentCellFunction::RNNType::LSTMSequence,
- "RNNCell",
- "U8"
+ "RNNSeq",
+ "u8"
},
// asymmetrical FQ on weights
{
@@ -78,16 +77,15 @@ const std::vector<LayerTestsDefinitions::RecurrentCellTransformationParam> param
{},
{{}, {}, {}},
ov::builder::subgraph::RecurrentCellFunction::RNNType::LSTMSequence,
- "RNNCell",
- "FP32"
+ "RNNSeq",
+ "f32"
}
};
-const std::vector<std::vector<ov::PartialShape>> activations_shapes = {{{1, 1, 16}, {1, 1, 128}, {1, 1, 128}}};
+const std::vector<std::vector<ov::PartialShape>> activations_shapes = {{{1, 2, 16}, {1, 1, 128}, {1, 1, 128}}};
const std::vector<std::vector<ov::Shape>> weights_shapes = {{{1, 512, 16}, {1, 512, 128}, {1, 512}}};
-// Quantized Recurrent models are not supported by GPU yet. Keep tests for future
-INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, RecurrentCellTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, RecurrentCellTransformation,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(activations_shapes),
@@ -102,7 +100,7 @@ INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, RecurrentCellTransformation,
namespace testValues2 {
const std::vector<LayerTestsDefinitions::RecurrentCellTransformationParam> params = {
- // GRUSequence
+ // GRU
{
// X
{256ul, {}, {0.f}, {2.55f}, {0.f}, {255.f}},
@@ -129,8 +127,8 @@ const std::vector<LayerTestsDefinitions::RecurrentCellTransformationParam> param
{},
{{}, {}, {}},
ov::builder::subgraph::RecurrentCellFunction::RNNType::GRUSequence,
- "RNNCell",
- "U8"
+ "RNNSeq",
+ "u8"
},
// asymmetrical FQ on weights
{
@@ -159,16 +157,15 @@ const std::vector<LayerTestsDefinitions::RecurrentCellTransformationParam> param
{},
{{}, {}, {}},
ov::builder::subgraph::RecurrentCellFunction::RNNType::GRUSequence,
- "RNNCell",
- "FP32"
+ "RNNSeq",
+ "f32"
}
};
-const std::vector<std::vector<ov::PartialShape>> activations_shapes = {{{1, 2, 3}, {1, 2, 3}, {}}};
+const std::vector<std::vector<ov::PartialShape>> activations_shapes = {{{1, 1, 3}, {1, 1, 3}, {}}};
const std::vector<std::vector<ov::Shape>> weights_shapes = {{{1, 9, 3}, {1, 9, 3}, {1, 9}}};
-// Quantized Recurrent models are not supported by GPU yet. Keep tests for future
-INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, RecurrentCellTransformation,
+INSTANTIATE_TEST_SUITE_P(smoke_LPT, RecurrentCellTransformation,
::testing::Combine(
::testing::ValuesIn(netPrecisions),
::testing::ValuesIn(activations_shapes),
diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/reshape_transformation.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/reshape_transformation.cpp
index 72cfd15146c..d09b16fbc5d 100644
--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/reshape_transformation.cpp
+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/low_precision_transformations/reshape_transformation.cpp
@@ -26,7 +26,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 1, 3, 4, 8 },
{ 256ul, ov::Shape{ 1, 1, 1 }, { 0.f }, { 255.f }, { 0.f }, { 25.5f } },
"Reshape",
- "U8"
+ "f32"
},
// 3D -> 1D
{
@@ -34,7 +34,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ -1 },
{ 256ul, ov::Shape{}, { 0.f }, { 255.f }, { 0.f }, { 25.5f } },
"Reshape",
- "U8"
+ "f32"
},
// 4D -> 3D
{
@@ -42,7 +42,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 1, 3, 256 },
{ 256ul, ov::Shape{ 1, 1, 1, 1 }, { 0.f }, { 255.f }, { 0.f }, { 25.5f } },
"Reshape",
- "U8"
+ "f32"
},
// 4D -> 3D
{
@@ -50,7 +50,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 0, 3, -1 },
{ 256ul, ov::Shape{ 1, 3, 1, 1 }, { 0.f }, { 255.f }, { 0.f, 0.f, 0.f }, { 255.f, 25.5f, 2.55f } },
"Reshape",
- "U8"
+ "f32"
},
// 4D -> 2D
{
@@ -58,7 +58,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 1, -1 },
{ 256ul, ov::Shape{ 1, 1, 1, 1 }, { 0.f }, { 255.f }, { 0.f }, { 25.5f } },
"Reshape",
- "U8"
+ "f32"
},
// 4D -> 6D
{
@@ -66,7 +66,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 1, 3, 4, 8, 1, 1 },
{ 256ul, ov::Shape{ 1, 1, 1, 1}, { 0.f }, { 255.f }, { 0.f }, { 25.5f } },
"Reshape",
- "U8"
+ "f32"
},
// 4D -> 2D
{
@@ -81,7 +81,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 255.f, 255.f / 2.f, 255.f / 3.f },
},
"Reshape",
- "U8"
+ "u8"
},
// 4D -> 3D
{
@@ -96,7 +96,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 255.f, 255.f / 2.f, 255.f / 3.f },
},
"Reshape",
- "U8"
+ "f32"
},
// per-channel
// 4D -> 3D
@@ -112,7 +112,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 255.f, 255.f / 2.f, 255.f / 3.f },
},
"Reshape",
- "U8"
+ "u8"
},
// Channels count reducing, per-channel dequantizations 4d -> 4d
{
@@ -122,7 +122,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 0.f, 0.f, 0.f }, { 255.f, 255.f, 255.f },
{ 0.f, 0.f, 0.f }, { 255.f, 25.5f, 2.55f } },
"Reshape",
- "FP32"
+ "f32"
},
// Channels count reducing, per-channel dequantizations 3d -> 4d
{
@@ -132,7 +132,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 0.f, 0.f, 0.f }, { 255.f, 255.f, 255.f },
{ 0.f, 0.f, 0.f }, { 255.f, 25.5f, 2.55f } },
"Reshape",
- "FP32"
+ "f32"
},
// Channels count reducing, per-channel dequantizations 4d -> 3d
{
@@ -142,7 +142,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 0.f, 0.f, 0.f }, { 255.f, 255.f, 255.f },
{ 0.f, 0.f, 0.f }, { 255.f, 25.5f, 2.55f } },
"Reshape",
- "FP32"
+ "f32"
},
// Channels count reducing, per-channel dequantizations 5d -> 3d
{
@@ -152,7 +152,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 0.f, 0.f, 0.f }, { 255.f, 255.f, 255.f },
{ 0.f, 0.f, 0.f }, { 255.f, 25.5f, 2.55f } },
"Reshape",
- "FP32"
+ "f32"
},
// Channels count reducing, per-channel dequantizations 5d -> 4d
{
@@ -162,7 +162,7 @@ const std::vector<ReshapeTransformationParam> params = {
{ 0.f, 0.f, 0.f }, { 255.f, 255.f, 255.f },
{ 0.f, 0.f, 0.f }, { 255.f, 25.5f, 2.55f } },
"Reshape",
- "FP32"
+ "f32"
},
};
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 7acd688ba89..2d14b16996a 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
@@ -76,54 +76,21 @@ std::vector<std::string> disabledTestPatterns() {
R"(.*smoke_GroupDeconv_2D_Dynamic_.*FP32/GroupDeconvolutionLayerGPUTest.Inference.*)",
// Issue: 111440
R"(.*smoke_set1/GatherElementsGPUTest.Inference.*)",
- // Issue: Disabled due to LPT precision matching issue
- R"(.*smoke_.*FakeQuantizeTransformation.*)",
- R"(.*smoke_LPT.*ReshapeTransformation.*)",
- R"(.*smoke_LPT.*ConvolutionTransformation.*)",
- R"(.*smoke_LPT.*MatMulWithConstantTransformation.*)",
+ // Issue: 168015. Low precision PRelu is not supported on GPU
+ R"(.*smoke_LPT.*PReluTransformation.*)",
+ // Issue: 168016. Low precision LSTMSequence/GPUSequence are not supported on GPU
+ R"(.*smoke_LPT.*RecurrentCellTransformation.*)",
+ // Issue: expected precision mismatch
R"(.*smoke_LPT.*PullReshapeThroughDequantizationTransformation.*)",
- R"(.*smoke_LPT.*ElementwiseBranchSelectionTransformation.*)",
+ // Issue: accuracy mismatch
+ R"(.*smoke_LPT.*FuseDequantizeToFakeQuantizeTransformation.*f32_0_dynamic_\[\]_f32__\{\}_\{\}__\{.0.01.\}_dynamic_\[\]_0_1_dynamic_f32_level=256_shape=\[\]_input_low=\{.0.\}_input_high=\{.2.55.\}_output_low=\{.0.\}_output_high=\{.2.55.\}_output_precision=_constant_precision=)",
+ R"(.*smoke_LPT.*MatMulWithConstantTransformation.*\[1,1,3,4\].*level=256_shape=\[1,3,1\]_input_low=\{.0,.0,.0.\}_input_high=\{.25,.24,.25.\}_output_low=\{.0,.0,.0.\}_output_high=\{.25,.24,.25.\}_output_precision=_constant_precision=.*)",
// Issue: 123493
R"(.*GroupNormalizationTest.*CompareWithRefs.*NetType=f16.*)",
// Doesn't match reference results as v6 ref impl behavior is misaligned with expected
R"(smoke_MemoryTestV3.*)",
- // Issue: CVS-133173
+ // by calc abs_threshold with expected value
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.*)",
- R"(.*smoke_LPT/BatchToSpaceTransformation.CompareWithRefImpl/f16_GPU_\[4,3,50,86\]_level=256_shape=\[1,1,1,1\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 2.55 \}_precision=.*)",
- R"(.*smoke_LPT/BatchToSpaceTransformation.CompareWithRefImpl/(f32|f16)_GPU_\[4,3,50,86\]_level=256_shape=\[1,3,1,1\]_input_low=\{ 0, 0, 0 \}_input_high=\{ 255, 127.5, 85 \}_output_low=\{ 0, 0, 0 \}_output_high\{ 255, 127.5, 85 \}_precision=.*)",
- R"(.*smoke_LPT/ConcatTransformation.CompareWithRefImpl/f16_\[1,3,16,16\]_GPU_f32level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 2.55 \}_precision=\{\}level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 2.55 \}_precision=\{\}.*)",
- R"(.*smoke_LPT/ConcatWithChildAndOutputTransformation.CompareWithRefImpl/f16_\[1,6,10,10\]_GPU_f32level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 2.55 \}_precision=level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 1.275 \}_precision=.*)",
- R"(.*smoke_LPT/ConcatWithDifferentChildrenTransformation.CompareWithRefImpl/f16_\[1,3,10,10\]_GPU_f32_axis_(1|2)_level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 2.55 \}_precision=level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 1.275 \}_precision=.*)",
- R"(.*smoke_LPT/ConcatWithNeighborsGraphTransformation.CompareWithRefImpl/f16_\[1,3,16,16\]_GPU_f32.*)",
- R"(.*smoke_LPT/ConcatWithIntermediateTransformation.CompareWithRefImpl/f16_\[1,3,16,16\]_GPU_f32.*)",
- R"(.*smoke_LPT/ConcatWithSplitTransformation.CompareWithRefImpl/f16_\[1,6,10,10\]_GPU_f32level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 2.55 \}_precision=_level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 1.275 \}_precision=.*)",
- R"(.*smoke_LPT_4D/ConvolutionBackpropDataTransformation.CompareWithRefImpl/f32_\[1,32,16,16\]_.*_input_low=\{ 0 \}_input_high=\{ 255 \}_output_low=\{ 0 \}_output_high\{ 25.5 \}_precision=__0_\[\]_\{ \}_\{ \}___f32_\{\}__\{ 4 \}_f32_\[\]_1_1_dynamic.*)",
- R"(.*smoke_LPT_4D/ConvolutionBackpropDataTransformation.CompareWithRefImpl/f16_\[1,(8|32),16,16\]_.*_input_low=\{ 0 \}_input_high=\{ 255 \}_output_low=\{ 0 \}_output_high\{ 25.5 \}_precision=__255_\[1,1,1,1\]_\{ 0 \}_\{ 25.4 \}_\{\}.*)",
- R"(.*smoke_LPT_4D/ConvolutionBackpropDataTransformation.CompareWithRefImpl/f16_\[1,(8|32),16,16\]_.*_input_low.*0.*input_high=.*255.*_output_low=.*0.*_output_high.*25.5.*_precision=__0_\[\]_\{ \}_\{ \}___f32_\{\}__\{ 4 \}_f32_\[\]_1_1_dynamic.*)",
- R"(.*smoke_LPT_3D/ConvolutionBackpropDataTransformation.CompareWithRefImpl/(f32|f16)_\[1,32,16,16\]_GPU_f32_\[16\]_level=256_shape=\[1,1,1\]_input_low=\{ 0 \}_input_high=\{ 255 \}_output_low=\{ 0 \}_output_high\{ 25.5 \}_precision=__0_\[\]_\{ \}_\{ \}___f32_\{\}__\{ 4 \}_f32_\[\]_1_1_dynamic.*)",
- R"(.*smoke_LPT/FakeQuantizeAndMaxPoolTransformation.CompareWithRefImpl/f16_\[1,32,72,48\]_GPU_f32.*)",
- R"(.*smoke_LPT/FakeQuantizeAndAvgPoolTransformation.CompareWithRefImpl/f16_\[1,32,72,48\]_GPU_f32.*)",
- R"(.*smoke_LPT/FuseConvertTransformation.CompareWithRefImpl/f32_\[1,4,16,16\]_GPU_f32_.*)",
- R"(.*smoke_LPT/FuseFakeQuantizeAndScaleShiftTransformation.CompareWithRefImpl/f16_GPU_level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 2.55 \}_precision=.*)",
- R"(.*smoke_LPT/MVNTransformation.CompareWithRefImpl/f16_\[1,4,16,16\]_GPU_f32_AxisSet.*)",
- R"(.*smoke_LPT/NormalizeL2Transformation.CompareWithRefImpl/f16_\[1,4,16,16\]_.*)",
- R"(.*smoke_LPT/PadTransformation.CompareWithRefImpl/f16_\[1,3,16,16\]_GPU_f32_level=256_shape=\[1,1,1,1\]_.*_(constant|reflect|symmetric|edge)_.*)",
- R"(.*smoke_LPT/OutputLayersConcat.CompareWithRefImpl/f32_\[1,3,16,16\]_GPU_f32.*)",
- R"(.*smoke_LPT/ReduceMeanTransformation.CompareWithRefImpl/f16_\[1,3,10,10\]_GPU_f32_level=256_shape=\[1,1,1,1\]_input_low=\{ 0 \}_input_high=\{ 255 \}_output_low=\{ 0 \}_output_high\{ 127 \}_precision=\{\}\{\}_keepDims__reduce_axis_1_.*)",
- R"(.*smoke_LPT/ReduceMeanTransformation.CompareWithRefImpl/f16_\[1,3,10,10\]_GPU_f32_level=256_shape=\[1,1,1,1\]_input_low=\{ 0 \}_input_high=\{ 255 \}_output_low=\{ 0 \}_output_high\{ 127 \}_precision=\{\}\{\}_reduce_axis_1_.*)",
- R"(.*smoke_LPT/ReduceSumTransformation.CompareWithRefImpl/(f32|f16)_\[1,3,10,10\]_GPU_f32_level=256_shape=\[1,1,1,1\]_input_low=\{ 0 \}_input_high=\{ 255 \}_output_low=\{ 0 \}_output_high\{ 127 \}_precision=_keepDims__reduce_axis_2_3_.*)",
- R"(.*smoke_LPT/ReduceSumTransformation.CompareWithRefImpl/f16_\[1,3,10,10\]_GPU_f32_level=256_shape=\[1,1,1,1\]_input_low=\{ 2 \}_input_high=\{ 10 \}_output_low=\{ 2 \}_output_high\{ 10 \}_precision=_reduce_axis_2_3_.*)",
- R"(.*smoke_LPT/ReluTransformation.CompareWithRefImpl/f16_GPU_level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 25.5 \}_output_low=\{ 0 \}_output_high\{ 25.5 \}_precision=.*)",
- R"(.*smoke_LPT/ReluTransformation.CompareWithRefImpl/f16_GPU_level=256_shape=\[\]_input_low=\{ 12.75 \}_input_high=\{ 25.5 \}_output_low=\{ 12.75 \}_output_high\{ 25.5 \}_precision=.*)",
- R"(.*smoke_LPT/SpaceToBatchTransformation.CompareWithRefImpl/(f32|f16)_GPU_\[1,3,100,171\]_level=256_shape=\[1,3,1,1\]_input_low=\{ 0, 0, 0 \}_input_high=\{ 255, 127.5, 85 \}_output_low=\{ 0, 0, 0 \}_output_high\{ 255, 127.5, 85 \}_precision=.*)",
- R"(.*smoke_LPT/SpaceToBatchTransformation.CompareWithRefImpl/f16_GPU_\[1,3,100,171\]_level=256_shape=\[1,1,1,1\]_input_low=\{ 0 \}_input_high=\{ 2.55 \}_output_low=\{ 0 \}_output_high\{ 2.55 \}_precision=.*)",
- R"(.*smoke_LPT/SplitTransformation.CompareWithRefImpl/f16_\[1,3,16,16\]_GPU_f32_level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 25.5 \}_output_low=\{ 0 \}_output_high\{ 12.75 \}_precision=_axis=2_n_splits=2.*)",
- R"(.*smoke_LPT/StridedSliceTransformation.CompareWithRefImpl/f16_\[1,3,24,24\]_GPU_f32_.*_precision=_\{ 0, 0, 0, 0 \}_\{ 1, 0, 1, 1 \}_\{ 1, 2, 1, 1 \}_\{ 1, 0, 1, 1 \}_\{ 1, 1, 1, 1 \}.*)",
- R"(.*smoke_LPT/StridedSliceTransformation.CompareWithRefImpl/f16_\[1,3,24,24\]_GPU_f32_.*_precision=_\{ 0, 0, 0, 0 \}_\{ 1, 1, 0, 1 \}_\{ 1, 3, 20, 24 \}_\{ 1, 1, 0, 1 \}_\{ 1, 1, 1, 1 \}.*)",
- R"(.*smoke_LPT/StridedSliceTransformation.CompareWithRefImpl/f16_\[1,3,24,24\]_GPU_f32_level=256_shape=\[1,3,1,1\]_.*_precision=_\{ 0, 0 \}_\{ 1, 0 \}_\{ 1, 2 \}_\{ 1, 0 \}_\{ 1, 1 \}.*)",
- R"(.*smoke_LPT/SubtractTransformation.CompareWithRefImpl/f16_\[1,3,16,16\]_GPU_f32.*)",
- R"(.*smoke_LPT/TransposeAfterMatMulTransformation.CompareWithRefImpl/f16.*(T|t)ransposeChannelDim.*)",
- R"(.*smoke_LPT/VariadicSplitTransformation.CompareWithRefImpl/f16_\[1,3,16,16\]_GPU_f32_level=256_shape=\[\]_input_low=\{ 0 \}_input_high=\{ 25.5 \}_output_low=\{ 0 \}_output_high\{ 12.75 \}_precision=_axis=2_splitLengths=\{ 9, 7 \}.*)",
R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=.*1.16.10.10.*_OS=\(\)_K\(1.1\)_S\(1.3\).*)",
R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=.*1.32.10.10.*_OS=\(\)_K\(1.1\)_S\(1.3\).*)",
R"(.*smoke_ConvolutionBackpropData2D_ExplicitPadding/ConvolutionBackpropDataLayerTest.Inference/IS=\(\[\]\)_TS=.*1.3.30.30.*_OS=\(\)_K\(1.1\)_S\(1.3\).*O=16.*)",
@@ -135,7 +102,6 @@ std::vector<std::string> disabledTestPatterns() {
R"(.*smoke_MatMul_BothTranspose/MatMulLayerTest.Inference/IS=\(\[\]_\[\]\)_TS=\{\(5\)_\(5\)\}_transpose_a=1_transpose_b=1_secondary_input_type=(CONSTANT|PARAMETER)_modelType=(f16|f32).*)",
R"(.*smoke_dynamic_conv_reshape_fullyconnected/ConvReshapeFullyConnectedDynamicGPUTestDynamic.Inference/IS=\[\?\.64\.1\.\?\.\?\]_\[1\.64\.1\.1\.1\]_model_type=f16.*)",
R"(.*smoke_empty_tensor/EmptyTensorDynamicGPUTest.Inference/IS=\[\?\]_\[30\]_\[40\]_\[50\]_\[10\]_\[7\]_\[\?.\?\]_\[1.0\]_\[1.8\]_\[1.0\]_\[1.3\]_\[1.20\]_NetType=i32.*)",
- // by calc abs_threshold with expected value
R"(.*smoke_Convolution2D_ExplicitPadding/ActivatiConvolutionLayerTestonLayerTest.Inference.*netPRC=f16.*)",
R"(.*smoke_Convolution2D_AutoPadValid/ConvolutionLayerTest.Inference.*netPRC=f16.*)",
R"(.*smoke_Convolution3D_Basic1/ConvolutionLayerTest.*)",
diff --git a/src/tests/functional/plugin/shared/src/low_precision_transformations/convolution_transformation.cpp b/src/tests/functional/plugin/shared/src/low_precision_transformations/convolution_transformation.cpp
index e307eab28cc..0f9b31638f7 100755
--- a/src/tests/functional/plugin/shared/src/low_precision_transformations/convolution_transformation.cpp
+++ b/src/tests/functional/plugin/shared/src/low_precision_transformations/convolution_transformation.cpp
@@ -54,8 +54,8 @@ void ConvolutionTransformation::run() {
const auto params = std::get<4>(GetParam());
const auto actualPrecision = get_runtime_precision_by_type(params.layerName);
auto expectedPrecision = params.expectedKernelType;
- if (expectedPrecision == "FP32" && std::get<0>(GetParam()) == ov::element::f16) {
- expectedPrecision = "FP16";
+ if (expectedPrecision == "f32" && std::get<0>(GetParam()) == ov::element::f16) {
+ expectedPrecision = "f16";
}
EXPECT_EQ(actualPrecision, expectedPrecision);
}
diff --git a/src/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp b/src/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp
index a02c5048ba5..bcaeb4edfc7 100644
--- a/src/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp
+++ b/src/tests/functional/plugin/shared/src/low_precision_transformations/fake_quantize_transformation.cpp
@@ -59,8 +59,8 @@ void FakeQuantizeTransformation::run() {
const auto params = std::get<4>(GetParam());
const auto actualPrecision = get_runtime_precision_by_type(params.layerName);
auto expectedPrecision = params.expectedKernelType;
- if (expectedPrecision == "FP32" && std::get<0>(GetParam()) == ov::element::f16) {
- expectedPrecision = "FP16";
+ if (expectedPrecision == "f32" && std::get<0>(GetParam()) == ov::element::f16) {
+ expectedPrecision = "f16";
}
EXPECT_EQ(actualPrecision, expectedPrecision);
diff --git a/src/tests/functional/plugin/shared/src/low_precision_transformations/group_convolution_transformation.cpp b/src/tests/functional/plugin/shared/src/low_precision_transformations/group_convolution_transformation.cpp
index 46800eb4da3..69aeabb7d0b 100644
--- a/src/tests/functional/plugin/shared/src/low_precision_transformations/group_convolution_transformation.cpp
+++ b/src/tests/functional/plugin/shared/src/low_precision_transformations/group_convolution_transformation.cpp
@@ -70,8 +70,8 @@ void GroupConvolutionTransformation::run() {
if (!param.layerName.empty()) {
const auto actualPrecision = get_runtime_precision_by_type(param.layerName);
auto expectedPrecision = param.expectedKernelType;
- if (expectedPrecision == "FP32" && std::get<0>(GetParam()) == ov::element::f16) {
- expectedPrecision = "FP16";
+ if (expectedPrecision == "f32" && std::get<0>(GetParam()) == ov::element::f16) {
+ expectedPrecision = "f16";
}
EXPECT_EQ(actualPrecision, expectedPrecision);
}
diff --git a/src/tests/functional/plugin/shared/src/low_precision_transformations/mat_mul_with_constant_transformation.cpp b/src/tests/functional/plugin/shared/src/low_precision_transformations/mat_mul_with_constant_transformation.cpp
index 7b4083fa200..e5f31733841 100644
--- a/src/tests/functional/plugin/shared/src/low_precision_transformations/mat_mul_with_constant_transformation.cpp
+++ b/src/tests/functional/plugin/shared/src/low_precision_transformations/mat_mul_with_constant_transformation.cpp
@@ -60,8 +60,8 @@ void MatMulWithConstantTransformation::run() {
const auto params = std::get<2>(GetParam());
const auto actualPrecision = get_runtime_precision_by_type(params.layerName);
auto expectedPrecision = params.expectedKernelType;
- if (expectedPrecision == "FP32" && std::get<0>(GetParam()) == ov::element::f16) {
- expectedPrecision = "FP16";
+ if (expectedPrecision == "f32" && std::get<0>(GetParam()) == ov::element::f16) {
+ expectedPrecision = "f16";
}
EXPECT_EQ(actualPrecision, expectedPrecision);
}
diff --git a/src/tests/functional/plugin/shared/src/low_precision_transformations/move_fake_quantize_transformation.cpp b/src/tests/functional/plugin/shared/src/low_precision_transformations/move_fake_quantize_transformation.cpp
index 84ee85094b4..7345fc7af54 100644
--- a/src/tests/functional/plugin/shared/src/low_precision_transformations/move_fake_quantize_transformation.cpp
+++ b/src/tests/functional/plugin/shared/src/low_precision_transformations/move_fake_quantize_transformation.cpp
@@ -83,8 +83,8 @@ void MoveFakeQuantizeTransformation::run() {
const auto params = std::get<5>(GetParam());
const auto actualPrecision = get_runtime_precision_by_type(params.layerName);
auto expectedPrecision = params.expectedKernelType;
- if (expectedPrecision == "FP32" && std::get<0>(GetParam()) == ov::element::f16) {
- expectedPrecision = "FP16";
+ if (expectedPrecision == "f32" && std::get<0>(GetParam()) == ov::element::f16) {
+ expectedPrecision = "f16";
}
EXPECT_EQ(actualPrecision, expectedPrecision);
}
diff --git a/src/tests/functional/plugin/shared/src/low_precision_transformations/multiply_to_group_convolution_transformation.cpp b/src/tests/functional/plugin/shared/src/low_precision_transformations/multiply_to_group_convolution_transformation.cpp
index 7fe7e6279a6..afdf67edabb 100644
--- a/src/tests/functional/plugin/shared/src/low_precision_transformations/multiply_to_group_convolution_transformation.cpp
+++ b/src/tests/functional/plugin/shared/src/low_precision_transformations/multiply_to_group_convolution_transformation.cpp
@@ -56,8 +56,8 @@ void MultiplyToGroupConvolutionTransformation::run() {
const auto param = std::get<3>(GetParam());
const auto actualPrecision = get_runtime_precision(param.layerName);
auto expectedPrecision = param.expectedKernelType;
- if (expectedPrecision == "FP32" && std::get<0>(GetParam()) == ov::element::f16) {
- expectedPrecision = "FP16";
+ if (expectedPrecision == "f32" && std::get<0>(GetParam()) == ov::element::f16) {
+ expectedPrecision = "f16";
}
EXPECT_EQ(actualPrecision, expectedPrecision);
}
diff --git a/src/tests/functional/plugin/shared/src/low_precision_transformations/recurrent_cell_transformation.cpp b/src/tests/functional/plugin/shared/src/low_precision_transformations/recurrent_cell_transformation.cpp
index a2c263b9cd8..71f45db08a8 100644
--- a/src/tests/functional/plugin/shared/src/low_precision_transformations/recurrent_cell_transformation.cpp
+++ b/src/tests/functional/plugin/shared/src/low_precision_transformations/recurrent_cell_transformation.cpp
@@ -77,8 +77,8 @@ void RecurrentCellTransformation::run() {
const auto params = std::get<6>(GetParam());
const auto actualPrecision = get_runtime_precision_by_type(params.layerName);
auto expectedPrecision = params.expectedKernelType;
- if (expectedPrecision == "FP32" && std::get<0>(GetParam()) == ov::element::f16) {
- expectedPrecision = "FP16";
+ if (expectedPrecision == "f32" && std::get<0>(GetParam()) == ov::element::f16) {
+ expectedPrecision = "f16";
}
EXPECT_EQ(actualPrecision, expectedPrecision);
}
diff --git a/src/tests/functional/plugin/shared/src/low_precision_transformations/reshape_transformation.cpp b/src/tests/functional/plugin/shared/src/low_precision_transformations/reshape_transformation.cpp
index 7cb077d0443..16a15ad0528 100644
--- a/src/tests/functional/plugin/shared/src/low_precision_transformations/reshape_transformation.cpp
+++ b/src/tests/functional/plugin/shared/src/low_precision_transformations/reshape_transformation.cpp
@@ -56,8 +56,8 @@ void ReshapeTransformation::run() {
auto actualPrecision = get_runtime_precision_by_type(params.layerType);
const auto expectedPrecision = params.expectedKernelType;
- if ((expectedPrecision == "FP32") && (actualPrecision == "FP16")) {
- actualPrecision = "FP32";
+ if ((expectedPrecision == "f32") && (actualPrecision == "f16")) {
+ actualPrecision = "f32";
}
EXPECT_EQ(actualPrecision, expectedPrecision);
}
diff --git a/src/tests/ov_helpers/ov_lpt_models/src/fake_quantize_precision_selection.cpp b/src/tests/ov_helpers/ov_lpt_models/src/fake_quantize_precision_selection.cpp
index 1ce75bac390..aca6534a853 100644
--- a/src/tests/ov_helpers/ov_lpt_models/src/fake_quantize_precision_selection.cpp
+++ b/src/tests/ov_helpers/ov_lpt_models/src/fake_quantize_precision_selection.cpp
@@ -52,8 +52,8 @@ std::shared_ptr<ov::Model> FakeQuantizePrecisionSelectionFunction::getOriginal(
: std::make_shared<ov::op::TypeRelaxed<ov::opset1::PRelu>>(
ov::opset1::PRelu(
fakeQuantize,
- std::make_shared<ov::opset1::Constant>(element::f32, Shape{}, std::vector<float>{0.01})),
- element::f32);
+ std::make_shared<ov::opset1::Constant>(precision, Shape{}, std::vector<float>{0.01})),
+ precision);
const size_t inputChannelsCount = inputShape[1].get_length();
const size_t outputChannelsCount = 2 * inputShape[1].get_length();
@@ -90,8 +90,8 @@ std::shared_ptr<ov::Model> FakeQuantizePrecisionSelectionFunction::getOriginal(
branch2Last = std::make_shared<ov::op::TypeRelaxed<ov::opset1::PRelu>>(
ov::opset1::PRelu(
fakeQuantize,
- std::make_shared<ov::opset1::Constant>(ov::element::f32, Shape{}, std::vector<float>{0.01})),
- ov::element::f32);
+ std::make_shared<ov::opset1::Constant>(precision, Shape{}, std::vector<float>{0.01})),
+ precision);
}
const std::shared_ptr<ov::opset1::Concat> concat = std::make_shared<ov::opset1::Concat>(
@@ -126,7 +126,7 @@ std::shared_ptr<ov::Model> FakeQuantizePrecisionSelectionFunction::getReference(
op::RoundingType::FLOOR))
: std::make_shared<ov::op::TypeRelaxed<ov::opset1::PRelu>>(
fakeQuantize,
- std::make_shared<ov::opset1::Constant>(element::f32, Shape{}, std::vector<float>{0.01}));
+ std::make_shared<ov::opset1::Constant>(precision, Shape{}, std::vector<float>{0.01}));
const size_t inputChannelsCount = inputShape[1];
const size_t outputChannelsCount = 2 * inputShape[1];
@@ -167,7 +167,7 @@ std::shared_ptr<ov::Model> FakeQuantizePrecisionSelectionFunction::getReference(
// just another branch
std::shared_ptr<ov::opset1::PRelu> branch2PRelu = std::make_shared<ov::op::TypeRelaxed<ov::opset1::PRelu>>(
fakeQuantize,
- std::make_shared<ov::opset1::Constant>(ov::element::f32, Shape{}, std::vector<float>{0.01}));
+ std::make_shared<ov::opset1::Constant>(precision, Shape{}, std::vector<float>{0.01}));
const std::shared_ptr<ov::Node> branch2Multiply = std::make_shared<ov::opset1::Multiply>(
branch2PRelu,