We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 202e65a commit e2239a8Copy full SHA for e2239a8
_unittests/ut_xrun_doc/test_helpers.py
@@ -5,7 +5,12 @@
5
import onnx
6
import onnx.helper as oh
7
import torch
8
-from onnx_diagnostic.ext_test_case import ExtTestCase, skipif_ci_windows, hide_stdout
+from onnx_diagnostic.ext_test_case import (
9
+ ExtTestCase,
10
+ skipif_ci_windows,
11
+ hide_stdout,
12
+ requires_onnx,
13
+)
14
from onnx_diagnostic.helpers import (
15
string_type,
16
string_sig,
@@ -256,6 +261,7 @@ def test_from_array(self):
256
261
self.assertEqualArray(t, arr)
257
262
convert_endian(proto)
258
263
264
+ @requires_onnx("1.18.0")
259
265
def test_from_array_ml_dtypes(self):
260
266
for dt in {
267
ml_dtypes.bfloat16,
0 commit comments