Skip to content

chore(deps): bump onnx-weekly from 1.22.0.dev20260421 to 1.23.0.dev20260831 in /requirements/ci - #3029

Open
dependabot[bot] wants to merge 4 commits into
mainfrom
dependabot/pip/requirements/ci/onnx-weekly-1.23.0.dev20260831
Open

chore(deps): bump onnx-weekly from 1.22.0.dev20260421 to 1.23.0.dev20260831 in /requirements/ci#3029
dependabot[bot] wants to merge 4 commits into
mainfrom
dependabot/pip/requirements/ci/onnx-weekly-1.23.0.dev20260831

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps onnx-weekly from 1.22.0.dev20260421 to 1.23.0.dev20260831.

Release notes

Sourced from onnx-weekly's releases.

v1.22.0

ONNX v1.22.0 is now available with exciting new features! We would like to thank everyone who contributed to this release! Please visit onnx.ai to learn more about ONNX and associated projects.

What's Changed

Breaking Changes and Deprecations

Spec and Operator

Two new operators LinearAttention-27 and CausalConvWithState-27 were introduced.

Reference Implementation

Utilities and Tools

Build, CI and Tests

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [onnx-weekly](https://github.com/onnx/onnx) from 1.22.0.dev20260421 to 1.23.0.dev20260831.
- [Release notes](https://github.com/onnx/onnx/releases)
- [Changelog](https://github.com/onnx/onnx/blob/main/docs/Changelog-ml.md)
- [Commits](https://github.com/onnx/onnx/commits)

---
updated-dependencies:
- dependency-name: onnx-weekly
  dependency-version: 1.23.0.dev20260831
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@github-project-automation github-project-automation Bot moved this from Todo to Done in ONNX Script Review Board Sep 4, 2026
@justinchuby

Copy link
Copy Markdown
Collaborator

Copilot onnx removed the backend test onnx files

onnxscript/backend/onnx_backend_test.py::TestOnnxBackEnd::test_enumerate_onnx_tests_run_one - FileNotFoundError: Unable to find series of tests in '/Users/runner/work/onnxscript/onnxscript/.nox/test_onnx_weekly/lib/python3.11/site-packages/onnx/backend/test', subfolders:

Can you use the new way to generate the onnx files from the backend test infra in onnx?

Co-authored-by: justinchuby <11205048+justinchuby@users.noreply.github.com>

Copilot AI commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Copilot onnx removed the backend test onnx files

onnxscript/backend/onnx_backend_test.py::TestOnnxBackEnd::test_enumerate_onnx_tests_run_one - FileNotFoundError: Unable to find series of tests in ...

Addressed in 264c41b by falling back to ONNX’s generated backend node TestCase loader when the old data/node files are absent. Validated with lintrunner -a and focused backend/export tests against onnx-weekly==1.23.0.dev20260831.

Comment thread onnxscript/backend/onnx_backend.py Outdated
@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

❌ 4 Tests Failed:

Tests completed Failed Passed Skipped
9816 4 9812 1848
View the top 3 failed test(s) by shortest run time
onnxscript.backend.onnx_export_test.TestOnnxBackEnd::test_export2python_produces_correct_onnx_script_model_1211_test_optional_has_element_tensor_input
Stack Traces | 0.003s run time
..../test_onnx_weekly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export_test.py:260: in test_export2python_produces_correct_onnx_script_model
    code = onnx_export.export2python(
onnxscript/backend/onnx_export.py:919: in export2python
    return exporter.export(model_onnx, function_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:821: in export
    add(self._import_onnx_types(proto))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:798: in _import_onnx_types
    ts = _translate_type(t.type)
         ^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:124: in _translate_type
    return onnxscript.onnx_types.onnx_type_to_onnxscript_repr(onnx_type, reversible=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/onnx_types.py:269: in onnx_type_to_onnxscript_repr
    raise NotImplementedError(f"Unable to translate type {onnx_type!r} into onnxscript type.")
E   NotImplementedError: Unable to translate type optional_type {
E     elem_type {
E       tensor_type {
E         elem_type: 1
E         shape {
E           dim {
E             dim_value: 4
E           }
E         }
E       }
E     }
E   }
E    into onnxscript type.
onnxscript.backend.onnx_export_test.TestOnnxBackEnd::test_export2python_produces_correct_onnx_script_model_1215_test_optional_has_element_empty_optional_input
Stack Traces | 0.004s run time
..../test_onnx_weekly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export_test.py:260: in test_export2python_produces_correct_onnx_script_model
    code = onnx_export.export2python(
onnxscript/backend/onnx_export.py:919: in export2python
    return exporter.export(model_onnx, function_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:821: in export
    add(self._import_onnx_types(proto))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:798: in _import_onnx_types
    ts = _translate_type(t.type)
         ^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:124: in _translate_type
    return onnxscript.onnx_types.onnx_type_to_onnxscript_repr(onnx_type, reversible=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/onnx_types.py:269: in onnx_type_to_onnxscript_repr
    raise NotImplementedError(f"Unable to translate type {onnx_type!r} into onnxscript type.")
E   NotImplementedError: Unable to translate type optional_type {
E     elem_type {
E       tensor_type {
E         elem_type: 6
E         shape {
E         }
E       }
E     }
E   }
E    into onnxscript type.
onnxscript.backend.onnx_export_test.TestOnnxBackEnd::test_export2python_produces_correct_onnx_script_model_1212_test_optional_has_element_optional_input
Stack Traces | 0.005s run time
..../test_onnx_weekly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export_test.py:260: in test_export2python_produces_correct_onnx_script_model
    code = onnx_export.export2python(
onnxscript/backend/onnx_export.py:919: in export2python
    return exporter.export(model_onnx, function_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:821: in export
    add(self._import_onnx_types(proto))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:798: in _import_onnx_types
    ts = _translate_type(t.type)
         ^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:124: in _translate_type
    return onnxscript.onnx_types.onnx_type_to_onnxscript_repr(onnx_type, reversible=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/onnx_types.py:269: in onnx_type_to_onnxscript_repr
    raise NotImplementedError(f"Unable to translate type {onnx_type!r} into onnxscript type.")
E   NotImplementedError: Unable to translate type optional_type {
E     elem_type {
E       tensor_type {
E         elem_type: 1
E         shape {
E           dim {
E             dim_value: 4
E           }
E         }
E       }
E     }
E   }
E    into onnxscript type.
onnxscript.backend.onnx_export_test.TestOnnxBackEnd::test_export2python_produces_correct_onnx_script_model_1207_test_optional_get_element_optional_tensor
Stack Traces | 0.006s run time
..../test_onnx_weekly/lib/python3.11.../site-packages/parameterized/parameterized.py:620: in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export_test.py:260: in test_export2python_produces_correct_onnx_script_model
    code = onnx_export.export2python(
onnxscript/backend/onnx_export.py:919: in export2python
    return exporter.export(model_onnx, function_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:821: in export
    add(self._import_onnx_types(proto))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:798: in _import_onnx_types
    ts = _translate_type(t.type)
         ^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/backend/onnx_export.py:124: in _translate_type
    return onnxscript.onnx_types.onnx_type_to_onnxscript_repr(onnx_type, reversible=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxscript/onnx_types.py:269: in onnx_type_to_onnxscript_repr
    raise NotImplementedError(f"Unable to translate type {onnx_type!r} into onnxscript type.")
E   NotImplementedError: Unable to translate type optional_type {
E     elem_type {
E       tensor_type {
E         elem_type: 1
E         shape {
E           dim {
E             dim_value: 4
E           }
E         }
E       }
E     }
E   }
E    into onnxscript type.
tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU::test_output_match_opinfo__addbmm_cpu_float32
Stack Traces | 0.406s run time
tests\function_libs\torch_lib\ops_test.py:243: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 50 / 50 (100.0%)
E   Greatest absolute difference: nan at index (0, 0) (up to 2e-05 allowed)
E   Greatest relative difference: nan at index (0, 0) (up to 2e-05 allowed)
tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU::test_output_match_opinfo__addbmm_cpu_float16
Stack Traces | 0.416s run time
tests\function_libs\torch_lib\ops_test.py:243: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 50 / 50 (100.0%)
E   Greatest absolute difference: nan at index (0, 0) (up to 0.02 allowed)
E   Greatest relative difference: nan at index (0, 0) (up to 0.2 allowed)
View the full list of 5 ❄️ flaky test(s)
tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU::test_output_match_opinfo__baddbmm_cpu_float16

Flake rate in main: 14.18% (Passed 224 times, Failed 37 times)

Stack Traces | 0.395s run time
tests\function_libs\torch_lib\ops_test.py:243: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 250 / 250 (100.0%)
E   Greatest absolute difference: nan at index (0, 0, 0) (up to 0.01 allowed)
E   Greatest relative difference: nan at index (0, 0, 0) (up to 0.001 allowed)
tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU::test_output_match_opinfo__baddbmm_cpu_float32

Flake rate in main: 14.53% (Passed 594 times, Failed 101 times)

Stack Traces | 0.423s run time
tests\function_libs\torch_lib\ops_test.py:243: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 250 / 250 (100.0%)
E   Greatest absolute difference: nan at index (0, 0, 0) (up to 1e-05 allowed)
E   Greatest relative difference: nan at index (0, 0, 0) (up to 1.3e-06 allowed)
tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU::test_output_match_opinfo__logit_cpu_float16

Flake rate in main: 14.44% (Passed 1606 times, Failed 271 times)

Stack Traces | 0.384s run time
tests\function_libs\torch_lib\ops_test.py:243: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 83 / 125 (66.4%)
E   Greatest absolute difference: 0.8115234375 at index (0, 0, 0) (up to 0.0007 allowed)
E   Greatest relative difference: 1.9990234375 at index (0, 0, 0) (up to 0.1 allowed)
tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU::test_output_match_opinfo__logit_cpu_float32

Flake rate in main: 14.44% (Passed 1606 times, Failed 271 times)

Stack Traces | 0.399s run time
tests\function_libs\torch_lib\ops_test.py:243: in run_test_output_match
    torch.testing.assert_close(
E   AssertionError: Tensor-likes are not close!
E   
E   Mismatched elements: 81 / 125 (64.8%)
E   Greatest absolute difference: 0.8109303712844849 at index (0, 0, 0) (up to 1e-05 allowed)
E   Greatest relative difference: 2.0 at index (0, 0, 0) (up to 1.3e-06 allowed)
tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU::test_output_match_opinfo__ops_aten__grouped_mm_cpu_float32

Flake rate in main: 100.00% (Passed 0 times, Failed 92 times)

Stack Traces | 1.46s run time
tests\function_libs\torch_lib\ops_test.py:187: in run_test_output_match
    torch_output = op(*inputs, **cpu_sample.kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\torch\testing\_internal\opinfo\core.py:1263: in __call__
    return self.op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
.nox\test_torch_nightly\Lib\site-packages\torch\_ops.py:1350: in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
E   RuntimeError: strides should be multiple of 16 bytes

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Co-authored-by: justinchuby <11205048+justinchuby@users.noreply.github.com>
@justinchuby

Copy link
Copy Markdown
Collaborator

Copilot Change all of from onnxscript import ir into import onnx_ir as ir

Co-authored-by: justinchuby <11205048+justinchuby@users.noreply.github.com>

Copilot AI commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Copilot Change all of from onnxscript import ir into import onnx_ir as ir

Addressed in e5b3847 by replacing all ir imports from onnxscript with import onnx_ir as ir. Validated with lintrunner -a, focused backend/export tests, secret scanning, and CodeQL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

Development

Successfully merging this pull request may close these issues.

2 participants