Skip to content

Force onnxsim under 0.6#210

Merged
dtronmans merged 1 commit intomainfrom
fix/onnxsim-downgrade
Mar 20, 2026
Merged

Force onnxsim under 0.6#210
dtronmans merged 1 commit intomainfrom
fix/onnxsim-downgrade

Conversation

@dtronmans
Copy link
Contributor

@dtronmans dtronmans commented Mar 19, 2026

Purpose

onnxsim release 0.6.0 on the 25th of February and 0.6.2 on the 26th of February (https://pypi.org/project/onnxsim/#history). In a recent PR, the onnxsim version resolves to 0.6.2 and the workflow tests fail on macOS only (example).

I was able to fix this in #209 and confirm that this fix passes the workflow install and tests, but since #209 is a low priority PR I made this PR with solely this fix. This is because other repositories' BOM tests that include the tools repo fail because of this new onnxsim version (example).

As for the reason behind this regression, it seems that recent onnxsim releases change the macOS wheel artifacts which changes how the package is installed in our workflows (just found: The macOS wheel tag changed from macosx_10_15_universal2 in 0.5.0 to macosx_11_0_arm64 in 0.6.1 and 0.6.2)

Specification

Dependencies & Potential Impact

Deployment Plan

Testing & Validation

@github-actions
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
30360 6492 21% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 77dd21a by action🐍

@github-actions
Copy link

Test Results

  6 files    6 suites   24m 33s ⏱️
 26 tests  26 ✅ 0 💤 0 ❌
156 runs  156 ✅ 0 💤 0 ❌

Results for commit 77dd21a.

@dtronmans dtronmans merged commit a230917 into main Mar 20, 2026
16 checks passed
@dtronmans dtronmans deleted the fix/onnxsim-downgrade branch March 20, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants