Skip to content

Commit

Permalink
ping onnxoptimizer==0.2.7 for issue #28
Browse files Browse the repository at this point in the history
Via pipeline https://github.com/zhenhuaw-me/onnxcli/actions/runs/3453474851/jobs/5764096907.

A simple model works no issue till optimizer v0.2.7 (verified locally), but starts to fail with optimizer v0.3.0 (verified locally) and still fail with v0.3.2 (the pipeline).

It's onnx optimize ./assets/tests/conv.float32.onnx optimized.onnx.
  • Loading branch information
zhenhuaw-me committed Nov 13, 2022
1 parent 5c17407 commit 2a7cf43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion onnxcli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def add_args(self, subparser):
def run(self, args):
logger.info("Running <Package Setup>")

pkgs = ['onnxoptimizer', 'protobuf']
pkgs = ['onnxoptimizer==0.2.7', 'protobuf']

if args.list:
print("Dependent packages:")
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ coverage
flake8
numpy
onnx
onnxoptimizer
onnxoptimizer==0.2.7
protobuf
pytest
twine
twine

0 comments on commit 2a7cf43

Please sign in to comment.