Skip to content

Commit

Permalink
[TESTS] Skip signature test for older torch (#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 Oct 23, 2024
1 parent 2dd8447 commit b67456f
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 b67456f

Please sign in to comment.