From 88017d21b1301f2ec28d90d3d53776081c5cc2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Dupr=C3=A9?= Date: Fri, 17 Oct 2025 19:07:37 +0200 Subject: [PATCH 1/2] remove mypy --- onnx_diagnostic/torch_models/validate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onnx_diagnostic/torch_models/validate.py b/onnx_diagnostic/torch_models/validate.py index b10aa577..fca1cfbd 100644 --- a/onnx_diagnostic/torch_models/validate.py +++ b/onnx_diagnostic/torch_models/validate.py @@ -123,8 +123,8 @@ def _make_folder_name( els = [model_id.replace("/", "_")] if subfolder: els.append(subfolder.replace("/", "_")) - if not task: - els.append(task) # type: ignore[arg-type] + if task: + els.append(task) if drop_inputs: ii = "-".join(f"{s[0]}{s[-1]}" for s in drop_inputs) els.append(f"I-{ii.upper()}") From 5d4c64488a2e6c51383f662aa7119c7aaf7edf5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Dupr=C3=A9?= Date: Fri, 17 Oct 2025 19:14:41 +0200 Subject: [PATCH 2/2] upgrade version --- CHANGELOGS.rst | 5 +++++ _doc/index.rst | 2 +- onnx_diagnostic/__init__.py | 2 +- pyproject.toml | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOGS.rst b/CHANGELOGS.rst index 7a90b688..e1d5e4bd 100644 --- a/CHANGELOGS.rst +++ b/CHANGELOGS.rst @@ -1,6 +1,11 @@ Change Logs =========== +0.7.16 +++++++ + + + 0.7.15 ++++++ diff --git a/_doc/index.rst b/_doc/index.rst index e6b595b1..8304186e 100644 --- a/_doc/index.rst +++ b/_doc/index.rst @@ -239,10 +239,10 @@ The function replaces dynamic dimensions defined as strings by Older versions ============== +* `0.7.16 <../v0.7.16/index.html>`_ * `0.7.15 <../v0.7.15/index.html>`_ * `0.7.14 <../v0.7.14/index.html>`_ * `0.7.12 <../v0.7.12/index.html>`_ -* `0.7.11 <../v0.7.11/index.html>`_ * `0.6.3 <../v0.6.3/index.html>`_ * `0.5.0 <../v0.5.0/index.html>`_ * `0.4.4 <../v0.4.4/index.html>`_ diff --git a/onnx_diagnostic/__init__.py b/onnx_diagnostic/__init__.py index 13c0e5f1..18c4b1cf 100644 --- a/onnx_diagnostic/__init__.py +++ b/onnx_diagnostic/__init__.py @@ -3,5 +3,5 @@ Functions, classes to dig into a model when this one is right, slow, wrong... """ -__version__ = "0.7.15" +__version__ = "0.7.16" __author__ = "Xavier Dupré" diff --git a/pyproject.toml b/pyproject.toml index a7b566cf..de4a2d5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "onnx-diagnostic" -version = "0.7.15" +version = "0.7.16" description = "Tools to help converting pytorch models into ONNX." readme = "README.rst" authors = [