Enable test_loop_simple_precommit on GPU (#11625)
This commit is contained in:
parent
0babf20bd2
commit
68ef1555bc
@ -274,8 +274,6 @@ class TestLoop(OnnxRuntimeLayerTest):
|
||||
@pytest.mark.precommit
|
||||
@pytest.mark.timeout(250)
|
||||
def test_loop_simple_precommit(self, ie_device, precision, ir_version, temp_dir, api_2):
|
||||
if ie_device == 'GPU':
|
||||
pytest.skip('Loop not supported on GPU')
|
||||
self._test(*self.create_loop(), ie_device, precision, ir_version, temp_dir=temp_dir,
|
||||
infer_timeout=150, api_2=api_2)
|
||||
|
||||
@ -283,6 +281,6 @@ class TestLoop(OnnxRuntimeLayerTest):
|
||||
@pytest.mark.timeout(250)
|
||||
def test_loop_in_loop_simple_precommit(self, ie_device, precision, ir_version, temp_dir, api_2):
|
||||
if ie_device == 'GPU':
|
||||
pytest.skip('Loop not supported on GPU')
|
||||
pytest.xfail("Program doesn't contain primitive: constant:res/10/M_2 that is input to: loop")
|
||||
self._test(*self.create_loop_in_loop(), ie_device, precision, ir_version, temp_dir=temp_dir,
|
||||
infer_timeout=150, api_2=api_2)
|
||||
|
Loading…
Reference in New Issue
Block a user