Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build-onnxsim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ jobs:
path: python-wheels
persist-credentials: false

# 0.7.3 needs the test_profiling ir_version pin; 0.8.1 ships it (its
# _model() helper pins ir_version=10), so later versions may have no
# patches/ directory at all.
- name: Apply patches
if: hashFiles(format('python-wheels/patches/onnxsim/{0}/*.patch', env.ONNXSIM_VERSION)) != ''
run: git apply -v python-wheels/patches/onnxsim/${{ env.ONNXSIM_VERSION }}/*.patch

- name: Build wheels
Expand Down
1 change: 1 addition & 0 deletions docs/packages/onnxsim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ versions:
- filename: onnxsim-0.7.3-cp312-abi3-manylinux_2_39_riscv64.whl
sha256: 630922bc5ff479b7616d602f3a8dc9d2bdf749096413be6990ce5e66cf89cfe7
requires-python: '>=3.10'
- version: 0.8.1
Loading