optimizer icon indicating copy to clipboard operation
optimizer copied to clipboard

Actively maintained ONNX Optimizer

Results 77 optimizer issues
Sort by recently updated
recently updated
newest added

# Bug Report ### Is the issue related to model conversion? No. ### Describe the bug Start with an ONNX model with a sparse initializer. Run model optimizer with option...

# Bug Report This test was run on s390x. s390x is big-endian architecture. Failure log from pytest: ``` _______________________________________________ TestOptimizer.test_fuse_bn_into_conv_simple ________________________________________________ self = def test_fuse_bn_into_conv_simple(self): # type: () -> None...

onnx/onnx_pb.h:54:10: fatal error: onnx/onnx.pb.h: No such file or directory 54 | #include "onnx/onnx.pb.h" | ^~~~~~~~~~~~~~~~

## Summary It looks `onnxoptimizer` is missing support for python 3.10. Notably, I don't see 3.10 files in https://pypi.org/project/onnxoptimizer/#files ## Details On my Mac: % python3.10 -m venv .venv %...

-1 mean what? dynamic shape or Static shape? Using the latest version(v0.3.1), -1 dim will be constant fold. In old version, It doesn't fold. So that cause some conflict.

some project depending on this one can not be build due to the filesystem compatibility even the compiler is C++17. After the modification, the issue will be solved.

Hello @daquexian, I am with Microsoft developing the PyTorch ONNX Exporter project. Currently we are working on a PyTorch Dynamo-based ONNX exporter (`torch.onnx.dynamo_export`) which will replace the existing Torchscript-based ONNX...

I am trying install onnxoptimizer either through pip install onnxoptimizer or directly from source. Either way I get the same failures. I am running Fedora 39 and python 3.12.0. $...