Skip to content

Bump ONNX to 1.22.0 with compatible macOS simplifier wheels - #221

Merged
klemen1999 merged 7 commits into
mainfrom
dependabot/pip/onnx-1.22.0
Nov 17, 2026
Merged

klemen1999 merged 7 commits into
mainfrom
dependabot/pip/onnx-1.22.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Upgrade ONNX from 1.21.0 to 1.22.0 to resolve Dependabot alerts #304–307, and require onnxsim>=0.7.3,<0.8 so model conversion also works on macOS. The upper bound preserves Python 3.10 support; onnxsim 0.8 requires Python 3.11.

The previous macOS crash occurs in onnxsim.simplify(). An isolated export test passes PyTorch export, ONNX validation, and ONNX Runtime inference, then crashes with the older simplifier wheels. onnxsim 0.7.3 contains the upstream fix for bundled ONNX/Protobuf symbol collisions on macOS.

Validation:

  • Reproduced the original failure on the unchanged PR with fresh macOS unit and end-to-end runs.
  • Isolated macOS tests pass export, validation, simplification, and numerical output comparison with onnxsim 0.7.3 on Python 3.10 / PyTorch 2.14.1 and Python 3.11 / PyTorch 2.15.0. The onnxsim 0.6.5 negative controls crash in both environments.
  • All six unit-test jobs pass across Linux, Windows, and macOS with Python 3.10 and 3.11.
  • All fourteen end-to-end jobs pass, including public and private model conversions on Linux, Windows, and macOS.
  • Docker smoke test, pre-commit checks, and Semgrep pass.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 10, 2026
@github-actions

github-actions Bot commented Jul 10, 2026 •

Copy link
Copy Markdown

Test Results

  6 files    6 suites   16m 15s ⏱️
 34 tests  34 ✅ 0 💤 0 ❌
204 runs  204 ✅ 0 💤 0 ❌

Results for commit d53bdf4.

♻️ This comment has been updated with latest results.

@dependabot
dependabot Bot force-pushed the dependabot/pip/onnx-1.22.0 branch 2 times, most recently from 4699a68 to 7bb1eb1 Compare July 17, 2026 07:43
Bumps [onnx](https://github.com/onnx/onnx) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/onnx/onnx/releases)
- [Changelog](https://github.com/onnx/onnx/blob/main/docs/Changelog-ml.md)
- [Commits](onnx/onnx@v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: onnx
  dependency-version: 1.22.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/onnx-1.22.0 branch from 7bb1eb1 to 974a8b9 Compare July 17, 2026 14:19
@github-actions

github-actions Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1855 1142 62% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: d53bdf4 by action🐍

@klemen1999

Copy link
Copy Markdown
Collaborator

Currently failing torch.onnx.export() on macOS which is likely a bug between ONNX==1.22 and torch==2.13. We'll bump ONNX once this is resolved

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a13cfb08-9665-4869-9423-8c7c01364f27

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

👋 New to CodeRabbit? Try chatting in this PR!

Ask questions about the changes or discuss a review suggestion by mentioning @coderabbitai in a PR comment or a reply to a CodeRabbit review comment.

Try: @coderabbitai explain the changes in this PR and what I should focus on when reviewing.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@klemen1999 klemen1999 changed the title Bump onnx from 1.21.0 to 1.22.0 Bump ONNX to 1.22.0 with compatible macOS simplifier wheels Nov 17, 2026
@klemen1999
klemen1999 merged commit cd401ee into main Nov 17, 2026
29 checks passed
@klemen1999
klemen1999 deleted the dependabot/pip/onnx-1.22.0 branch November 17, 2026 16:33
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants