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/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()}") 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 = [