Skip to content

Commit

Permalink
[TESTS] Skip signature test for older torch (openvinotoolkit#27165)
Browse files Browse the repository at this point in the history
### Details:
 - *Skip signature test for older torch*

### Tickets:
 - *CVS-155238*
  • Loading branch information
mvafin authored and CuriousPanCake committed Nov 6, 2024
1 parent e25c626 commit 16f484e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/layer_tests/py_frontend_tests/test_torch_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import torch
import pytest
from packaging import version


class AtenDiv(torch.nn.Module):
Expand Down Expand Up @@ -670,6 +671,8 @@ def test_pytorch_decoder_can_convert_scripted_function():


@pytest.mark.precommit
@pytest.mark.skipif(version.parse(torch.__version__) < version.parse("2.4.0"),
reason="Unsupported on torch<2.4.0")
def test_pytorch_fx_decoder_extracts_signature():
from openvino.frontend.pytorch.fx_decoder import TorchFXPythonDecoder

Expand Down

0 comments on commit 16f484e

Please sign in to comment.