Skip to content

Commit

Permalink
[TF FE] Mark-up xfailed layer tests on GPU in nightly (openvinotoolki…
Browse files Browse the repository at this point in the history
…t#15981)

Signed-off-by: Kazantsev, Roman <[email protected]>
  • Loading branch information
rkazants authored and andrei-cv committed Mar 21, 2023
1 parent 4f6aac8 commit 5d11080
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions tests/layer_tests/tensorflow_tests/test_tf_Conv2D.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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),
Expand Down
4 changes: 4 additions & 0 deletions tests/layer_tests/tensorflow_tests/test_tf_If.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
2 changes: 2 additions & 0 deletions tests/layer_tests/tensorflow_tests/test_tf_IsFinite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 2 additions & 0 deletions tests/layer_tests/tensorflow_tests/test_tf_IsInf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 2 additions & 0 deletions tests/layer_tests/tensorflow_tests/test_tf_IsNan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 2 additions & 0 deletions tests/layer_tests/tensorflow_tests/test_tf_L2Loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 5d11080

Please sign in to comment.