[PyOV] skip dynamic test for arm (#15257)

* [PyOV] skip dynamic test for arm

* Update src/bindings/python/tests/test_runtime/test_infer_request.py

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
This commit is contained in:
Anastasia Kuporosova 2023-01-23 17:54:20 +01:00 committed by GitHub
parent 711e2cbab0
commit 2cb3e6486e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -863,6 +863,9 @@ def test_invalid_inputs(device):
def test_infer_dynamic_model(device): def test_infer_dynamic_model(device):
core = Core() core = Core()
if device == "CPU" and "Intel" not in core.get_property(device, "FULL_DEVICE_NAME"):
pytest.skip("This test fails on ARM plugin because it doesn't support dynamic shapes.")
param = ops.parameter(PartialShape([-1, -1])) param = ops.parameter(PartialShape([-1, -1]))
model = Model(ops.relu(param), [param]) model = Model(ops.relu(param), [param])
compiled_model = core.compile_model(model, device) compiled_model = core.compile_model(model, device)