Skip to content

Commit e2239a8

Browse files
committed
onnx
1 parent 202e65a commit e2239a8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

_unittests/ut_xrun_doc/test_helpers.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
import onnx
66
import onnx.helper as oh
77
import torch
8-
from onnx_diagnostic.ext_test_case import ExtTestCase, skipif_ci_windows, hide_stdout
8+
from onnx_diagnostic.ext_test_case import (
9+
ExtTestCase,
10+
skipif_ci_windows,
11+
hide_stdout,
12+
requires_onnx,
13+
)
914
from onnx_diagnostic.helpers import (
1015
string_type,
1116
string_sig,
@@ -256,6 +261,7 @@ def test_from_array(self):
256261
self.assertEqualArray(t, arr)
257262
convert_endian(proto)
258263

264+
@requires_onnx("1.18.0")
259265
def test_from_array_ml_dtypes(self):
260266
for dt in {
261267
ml_dtypes.bfloat16,

0 commit comments

Comments
 (0)