Skip to content

Commit a424179

Browse files
authored
Upgrade version to 0.7.10 (#215)
1 parent 140e948 commit a424179

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

CHANGELOGS.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Change Logs
22
===========
33

4+
0.7.10
5+
++++++
6+
47
0.7.9
58
+++++
69

_doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ The function replaces dynamic dimensions defined as strings by
239239
Older versions
240240
==============
241241

242+
* `0.7.10 <../v0.7.10/index.html>`_
242243
* `0.7.9 <../v0.7.9/index.html>`_
243-
* `0.7.8 <../v0.7.8/index.html>`_
244244
* `0.6.3 <../v0.6.3/index.html>`_
245245
* `0.5.0 <../v0.5.0/index.html>`_
246246
* `0.4.4 <../v0.4.4/index.html>`_

_scripts/test_backend_onnxruntime.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def run(self, inputs, **kwargs):
5050
class OnnxruntimeBackend(onnx.backend.base.Backend):
5151
@classmethod
5252
def is_compatible(cls, model) -> bool:
53+
# Not compatible with backend?
54+
# model.ir_version = 11
5355
return all(not (d.domain == "" and d.version > ORT_OPSET) for d in model.opset_import)
5456

5557
@classmethod
@@ -98,10 +100,12 @@ def run_node(cls, node, inputs, device=None, outputs_info=None, **kwargs):
98100
dft_atol = 1e-3
99101
stft_atol = 1e-4
100102
ql_atol = 1e-5
103+
fp16_atol = 1e-3
101104
backend_test = onnx.backend.test.BackendTest(
102105
OnnxruntimeBackend,
103106
__name__,
104107
test_kwargs={
108+
"test_attention_4d_fp16": {"atol": fp16_atol},
105109
"test_dft": {"atol": dft_atol, "rtol": numpy.inf},
106110
"test_dft_axis": {"atol": dft_atol, "rtol": numpy.inf},
107111
"test_dft_axis_opset19": {"atol": dft_atol, "rtol": numpy.inf},
@@ -148,6 +152,7 @@ def run_node(cls, node, inputs, device=None, outputs_info=None, **kwargs):
148152
unexpected_successes = len(res.result.unexpectedSuccesses)
149153
expected_failures = len(res.result.expectedFailures)
150154
print("---------------------------------")
155+
print(f"ORT_OPSET={ORT_OPSET}")
151156
print(
152157
f"tests_run={tests_run} errors={errors} skipped={skipped} "
153158
f"unexpected_successes={unexpected_successes} "

onnx_diagnostic/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
Functions, classes to dig into a model when this one is right, slow, wrong...
44
"""
55

6-
__version__ = "0.7.9"
6+
__version__ = "0.7.10"
77
__author__ = "Xavier Dupré"

0 commit comments

Comments
 (0)