Skip to content

Commit 7a1c935

Browse files
committed
api
1 parent 8bc7dbe commit 7a1c935

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

_unittests/ut_export/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
hide_stdout,
77
has_transformers,
88
ignore_warnings,
9+
requires_transformers,
910
)
1011
from onnx_diagnostic.helpers import max_diff
1112
from onnx_diagnostic.helpers.torch_helper import torch_deepcopy
@@ -43,6 +44,7 @@ def forward(self, x, y):
4344

4445
@hide_stdout()
4546
@ignore_warnings(FutureWarning)
47+
@requires_transformers("4.50")
4648
def test_tiny_llm_to_onnx(self):
4749
import onnxruntime
4850

0 commit comments

Comments
 (0)