From fbce9ea5ebfda2a2b0762fa677cb61f0efa63a0a Mon Sep 17 00:00:00 2001 From: "Kazantsev, Roman" Date: Mon, 27 Feb 2023 21:54:55 +0400 Subject: [PATCH] [TF FE] Mark-up xfailed layer tests on GPU in nightly Signed-off-by: Kazantsev, Roman --- .../layer_tests/tensorflow_tests/test_tf_CTCGreedyDecoder.py | 2 ++ tests/layer_tests/tensorflow_tests/test_tf_Conv2D.py | 2 ++ .../layer_tests/tensorflow_tests/test_tf_DynamicPartition.py | 4 ++++ tests/layer_tests/tensorflow_tests/test_tf_If.py | 4 ++++ tests/layer_tests/tensorflow_tests/test_tf_IsFinite.py | 2 ++ tests/layer_tests/tensorflow_tests/test_tf_IsInf.py | 2 ++ tests/layer_tests/tensorflow_tests/test_tf_IsNan.py | 2 ++ tests/layer_tests/tensorflow_tests/test_tf_L2Loss.py | 2 ++ 8 files changed, 20 insertions(+) diff --git a/tests/layer_tests/tensorflow_tests/test_tf_CTCGreedyDecoder.py b/tests/layer_tests/tensorflow_tests/test_tf_CTCGreedyDecoder.py index ff8af22cca18ce..580202eefd862b 100644 --- a/tests/layer_tests/tensorflow_tests/test_tf_CTCGreedyDecoder.py +++ b/tests/layer_tests/tensorflow_tests/test_tf_CTCGreedyDecoder.py @@ -62,6 +62,8 @@ def create_ctcgreedydecoder_placeholder_const_net(self, input_shape, merge_repea @pytest.mark.nightly def test_ctcgreedydecoder_placeholder_const(self, params, merge_repeated, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104860') self._test(*self.create_ctcgreedydecoder_placeholder_const_net(**params, ir_version=ir_version, use_new_frontend=use_new_frontend, merge_repeated=merge_repeated), ie_device, precision, ir_version, temp_dir=temp_dir, diff --git a/tests/layer_tests/tensorflow_tests/test_tf_Conv2D.py b/tests/layer_tests/tensorflow_tests/test_tf_Conv2D.py index ec3308d2b22a07..9e2dfdb585c697 100644 --- a/tests/layer_tests/tensorflow_tests/test_tf_Conv2D.py +++ b/tests/layer_tests/tensorflow_tests/test_tf_Conv2D.py @@ -83,6 +83,8 @@ def create_conv2d_placeholder_const_net(self, input_shape, input_filter, input_s @pytest.mark.nightly def test_conv2d_placeholder_const(self, params, padding, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104862') self._test(*self.create_conv2d_placeholder_const_net(**params, input_padding=padding, ir_version=ir_version, use_new_frontend=use_new_frontend), ie_device, precision, ir_version, input_padding=padding, temp_dir=temp_dir, diff --git a/tests/layer_tests/tensorflow_tests/test_tf_DynamicPartition.py b/tests/layer_tests/tensorflow_tests/test_tf_DynamicPartition.py index c47eafbcb7c1fb..06f85d3948185a 100644 --- a/tests/layer_tests/tensorflow_tests/test_tf_DynamicPartition.py +++ b/tests/layer_tests/tensorflow_tests/test_tf_DynamicPartition.py @@ -46,6 +46,8 @@ def create_dynamic_partition_net(self, data_shape, partitions_shape, num_partiti @pytest.mark.nightly def test_dynamic_partition_basic(self, params, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104855') if not use_new_frontend: pytest.skip("DynamicPartition operation is not supported via legacy frontend.") self._test(*self.create_dynamic_partition_net(**params), @@ -61,6 +63,8 @@ def test_dynamic_partition_basic(self, params, ie_device, precision, ir_version, @pytest.mark.nightly def test_dynamic_partition_other_types(self, params, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104855') if not use_new_frontend: pytest.skip("DynamicPartition operation is not supported via legacy frontend.") self._test(*self.create_dynamic_partition_net(**params), diff --git a/tests/layer_tests/tensorflow_tests/test_tf_If.py b/tests/layer_tests/tensorflow_tests/test_tf_If.py index 8832d735697f38..6884e19b9a8b82 100644 --- a/tests/layer_tests/tensorflow_tests/test_tf_If.py +++ b/tests/layer_tests/tensorflow_tests/test_tf_If.py @@ -62,6 +62,8 @@ def else_branch(): @pytest.mark.nightly def test_if_basic(self, params, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104855') self._test(*self.create_if_net(**params), ie_device, precision, ir_version, temp_dir=temp_dir, use_new_frontend=use_new_frontend, use_old_api=use_old_api) @@ -123,6 +125,8 @@ def else_branch(): @pytest.mark.nightly def test_if_basic(self, params, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104855') self._test(*self.create_if_net(**params), ie_device, precision, ir_version, temp_dir=temp_dir, use_new_frontend=use_new_frontend, use_old_api=use_old_api) diff --git a/tests/layer_tests/tensorflow_tests/test_tf_IsFinite.py b/tests/layer_tests/tensorflow_tests/test_tf_IsFinite.py index 7b32f502305f90..802200b0e3d9c4 100644 --- a/tests/layer_tests/tensorflow_tests/test_tf_IsFinite.py +++ b/tests/layer_tests/tensorflow_tests/test_tf_IsFinite.py @@ -41,6 +41,8 @@ def create_is_finite_net(self, x_shape, x_type): @pytest.mark.nightly def test_is_finite_basic(self, params, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104855') if not use_new_frontend: pytest.skip("IsFinite operation is not supported via legacy frontend.") self._test(*self.create_is_finite_net(**params), diff --git a/tests/layer_tests/tensorflow_tests/test_tf_IsInf.py b/tests/layer_tests/tensorflow_tests/test_tf_IsInf.py index 1d1f1e531b09b6..f2814a5d7aceba 100644 --- a/tests/layer_tests/tensorflow_tests/test_tf_IsInf.py +++ b/tests/layer_tests/tensorflow_tests/test_tf_IsInf.py @@ -39,6 +39,8 @@ def create_is_inf_net(self, x_shape, x_type): @pytest.mark.nightly def test_is_inf_basic(self, params, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104855') if not use_new_frontend: pytest.skip("IsInf operation is not supported via legacy frontend.") self._test(*self.create_is_inf_net(**params), diff --git a/tests/layer_tests/tensorflow_tests/test_tf_IsNan.py b/tests/layer_tests/tensorflow_tests/test_tf_IsNan.py index 4eb337d147c85d..b0a44b781d7d73 100644 --- a/tests/layer_tests/tensorflow_tests/test_tf_IsNan.py +++ b/tests/layer_tests/tensorflow_tests/test_tf_IsNan.py @@ -41,6 +41,8 @@ def create_is_nan_net(self, x_shape, x_type): @pytest.mark.nightly def test_is_nan_basic(self, params, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104855') if not use_new_frontend: pytest.skip("IsNan operation is not supported via legacy frontend.") self._test(*self.create_is_nan_net(**params), diff --git a/tests/layer_tests/tensorflow_tests/test_tf_L2Loss.py b/tests/layer_tests/tensorflow_tests/test_tf_L2Loss.py index 29261d4dfd978c..9011f2ee9c3e6d 100644 --- a/tests/layer_tests/tensorflow_tests/test_tf_L2Loss.py +++ b/tests/layer_tests/tensorflow_tests/test_tf_L2Loss.py @@ -29,6 +29,8 @@ def create_l2_loss_net(self, input_shape): @pytest.mark.nightly def test_l2_loss_basic(self, params, ie_device, precision, ir_version, temp_dir, use_new_frontend, use_old_api): + if ie_device == 'GPU': + pytest.xfail('104863') if not use_new_frontend: pytest.skip("L2Loss is not supported by legacy FE.") self._test(*self.create_l2_loss_net(**params),