Skip to content

Commit 06cca56

Browse files
committed
disable
1 parent 34694a6 commit 06cca56

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

_unittests/ut_xrun_doc/test_documentation_technical.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
import time
77
import torch
88
from onnx_diagnostic import __file__ as onnx_diagnostic_file
9-
from onnx_diagnostic.ext_test_case import ExtTestCase, is_windows, ignore_errors
9+
from onnx_diagnostic.ext_test_case import (
10+
ExtTestCase,
11+
is_windows,
12+
ignore_errors,
13+
has_transformers,
14+
)
1015

1116

1217
VERBOSE = 0
@@ -80,6 +85,9 @@ def add_test_methods(cls):
8085
if not reason and torch.__version__.startswith("2.9.0"):
8186
reason = "examples are failing for on CI for 2.9.0"
8287

88+
if not reason and not has_transformers("4.55.0") and name in {"plot_generate.py"}:
89+
reason = "transformers 4.55 is required"
90+
8391
if reason:
8492

8593
@unittest.skip(reason)

0 commit comments

Comments
 (0)