Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/onnx-optimizer.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-376264-71731/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/onnx-optimizer.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1714953600 Wrote: /builddir/build/SRPMS/onnx-optimizer-0.3.19-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/onnx-optimizer.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-376264-71731/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/onnx-optimizer.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1714953600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.er13JY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf optimizer-0.3.19 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/optimizer-0.3.19.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd optimizer-0.3.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf third_party/onnx + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pDKqRe + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd optimizer-0.3.19 + sed -i 's|VERSION 3.22|VERSION 3.20|g' CMakeLists.txt + rm -rf third_party/onnx + rm -rf third_party/protobuf + sed -i '/third_party\/protobuf/d' CMakeLists.txt + sed -i '/add_subdirectory.*(${ONNX_ROOT}/d' CMakeLists.txt + sed -i /Utils.cmake/d cmake/utils.cmake + sed -i 's|onnx_optimizer PUBLIC ${ONNX_TARGET_NAME}|onnx_optimizer PUBLIC ${ONNX_TARGET_NAME} protobuf onnx_proto|g' CMakeLists.txt + export ONNX_ML=1 + ONNX_ML=1 + export ONNX_NAMESPACE=onnx + ONNX_NAMESPACE=onnx + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DONNX_NAMESPACE=onnx -DONNX_ML=1' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DONNX_NAMESPACE=onnx -DONNX_ML=1' + export 'CMAKE_ARGS=-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_BUILD_TYPE=RelWithDebug' + CMAKE_ARGS='-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_BUILD_TYPE=RelWithDebug' + /usr/bin/python3 setup.py build -j80 /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'license-file' will not be supported in future versions. Please use the underscore name 'license_file' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running build running build_py running create_version running cmake_build Extra cmake args: ['-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON', '-DCMAKE_INSTALL_PREFIX:PATH=/usr', '-DBUILD_SHARED_LIBS:BOOL=ON', '-DCMAKE_SKIP_RPATH=ON', '-DCMAKE_VERBOSE_MAKEFILE=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebug'] -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Python: /usr/bin/python3 (found version "3.10.13") found components: Interpreter -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /usr/include (found version "2.10.4") -- Configuring done (0.9s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: ONNX_ML ONNX_NAMESPACE ONNX_USE_LITE_PROTO -- Build files have been written to: /builddir/build/BUILD/optimizer-0.3.19/.setuptools-cmake-build [ 7%] Building CXX object CMakeFiles/onnx_optimizer.dir/onnxoptimizer/model_util.cc.o [ 14%] Building CXX object CMakeFiles/onnx_optimizer.dir/onnxoptimizer/optimize.cc.o [ 21%] Building CXX object CMakeFiles/onnx_optimizer.dir/onnxoptimizer/pass.cc.o [ 28%] Building CXX object CMakeFiles/onnx_optimizer.dir/onnxoptimizer/pass_manager.cc.o [ 35%] Building CXX object CMakeFiles/onnx_optimizer.dir/onnxoptimizer/pass_registry.cc.o [ 42%] Building CXX object CMakeFiles/onnx_optimizer.dir/onnxoptimizer/passes/pass_util.cc.o [ 50%] Building CXX object CMakeFiles/onnx_optimizer.dir/onnxoptimizer/passes/tensor_util.cc.o In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:17, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.cc:8: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::patternMatchPredicate(onnx::Node*)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:38:13: warning: unused variable ‘slice_axis’ [-Wunused-variable] 38 | int64_t slice_axis; | ^~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for (int i = 1; i < slice->inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:17, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.h:15, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.cc:8: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::patternMatchPredicate(onnx::Node*)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:38:13: warning: unused variable ‘slice_axis’ [-Wunused-variable] 38 | int64_t slice_axis; | ^~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for (int i = 1; i < slice->inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_duplicate_initializer.h:35, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:20: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘std::size_t onnx::optimization::CSETensorHash::operator()(const onnx::Tensor*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:129:10: warning: variable ‘size_hasher’ set but not used [-Wunused-but-set-variable] 129 | auto size_hasher = std::hash(); | ^~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘bool onnx::optimization::CSEEqual::operator()(const onnx::Node*, const onnx::Node*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:262:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 262 | for (int i = 0; i < inputs_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:268:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 268 | for (int i = 0; i < attr_names_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_duplicate_initializer.h:35, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:20: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘std::size_t onnx::optimization::CSETensorHash::operator()(const onnx::Tensor*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:129:10: warning: variable ‘size_hasher’ set but not used [-Wunused-but-set-variable] 129 | auto size_hasher = std::hash(); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:22: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h: In member function ‘virtual bool onnx::optimization::EliminateIfWithConstCond::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:102:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | for (int i = 0; i < node->outputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:109:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < subgraph_outputs.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘bool onnx::optimization::CSEEqual::operator()(const onnx::Node*, const onnx::Node*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:262:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 262 | for (int i = 0; i < inputs_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:268:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 268 | for (int i = 0; i < attr_names_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:30: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h: In member function ‘virtual bool onnx::optimization::EliminateNopReshape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h:51:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 51 | for (int i = 0; i < new_shape.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/onnx/common/ir.h:29, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:13: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h: In member function ‘virtual bool onnx::optimization::EliminateShapeGather::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:48:29: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 48 | ONNX_ASSERT(indices_val < dims.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/c++/12/cassert:44, from /usr/include/google/protobuf/extension_set.h:43, from /usr/include/onnx/onnx-ml.pb.h:31, from /usr/include/onnx/onnx_pb.h:51, from /usr/include/onnx/common/tensor.h:20, from /usr/include/onnx/common/ir.h:33: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h: In member function ‘virtual bool onnx::optimization::EliminateSliceAfterShape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:74:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | assert(slice_start < result_of_shape_op.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:86:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | assert(slice_start < result_of_shape_op.size() && slice_start >= 0); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:39: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h: In member function ‘bool onnx::optimization::FuseBNIntoConv::modify_conv(onnx::Node*, onnx::Node*, onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h:127:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 127 | for (int i = 1; i < conv_W.sizes().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:22: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h: In member function ‘virtual bool onnx::optimization::EliminateIfWithConstCond::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:102:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | for (int i = 0; i < node->outputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:109:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < subgraph_outputs.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:30: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h: In member function ‘virtual bool onnx::optimization::EliminateNopReshape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h:51:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 51 | for (int i = 0; i < new_shape.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/onnx/common/ir.h:29, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.h:10: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h: In member function ‘virtual bool onnx::optimization::EliminateShapeGather::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:48:29: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 48 | ONNX_ASSERT(indices_val < dims.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/c++/12/cassert:44, from /usr/include/google/protobuf/extension_set.h:43, from /usr/include/onnx/onnx-ml.pb.h:31, from /usr/include/onnx/onnx_pb.h:51, from /usr/include/onnx/common/tensor.h:20, from /usr/include/onnx/common/ir.h:33: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h: In member function ‘virtual bool onnx::optimization::EliminateSliceAfterShape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:74:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | assert(slice_start < result_of_shape_op.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:86:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | assert(slice_start < result_of_shape_op.size() && slice_start >= 0); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:39: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h: In member function ‘bool onnx::optimization::FuseBNIntoConv::modify_conv(onnx::Node*, onnx::Node*, onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h:127:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 127 | for (int i = 1; i < conv_W.sizes().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:52: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h: In member function ‘void onnx::optimization::RenameInputOutput::rename_input_output(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:71:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 71 | for (int i = 0; i < graph.inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:83:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 83 | for (int i = 0; i < graph.outputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:52: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h: In member function ‘void onnx::optimization::RenameInputOutput::rename_input_output(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:71:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 71 | for (int i = 0; i < graph.inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:83:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 83 | for (int i = 0; i < graph.outputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:57: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h: In member function ‘unsigned int onnx::optimization::EliminateCommonSubexpression::EliminateCommonSubexpressions(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h:50:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 50 | for (int i = 0; i < outputs.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:60: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h: In member function ‘virtual bool onnx::optimization::EliminateOpWithUnit::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h:97:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 97 | for (int i = 0; i < node->inputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:57: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h: In member function ‘unsigned int onnx::optimization::EliminateCommonSubexpression::EliminateCommonSubexpressions(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h:50:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 50 | for (int i = 0; i < outputs.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:60: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h: In member function ‘virtual bool onnx::optimization::EliminateOpWithUnit::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h:97:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 97 | for (int i = 0; i < node->inputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc: In member function ‘void onnx::optimization::{anonymous}::ExternalDataInfo::setExternalData(onnx::TensorProto*, int32_t)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:70:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 70 | if (raw_data_size < size_threshold) { \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:81:9: note: in expansion of macro ‘DO_CASE’ 81 | DO_CASE(FLOAT, float_data, float) | ^~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:70:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 70 | if (raw_data_size < size_threshold) { \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:82:9: note: in expansion of macro ‘DO_CASE’ 82 | DO_CASE(DOUBLE, double_data, double) | ^~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:70:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 70 | if (raw_data_size < size_threshold) { \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:83:9: note: in expansion of macro ‘DO_CASE’ 83 | DO_CASE(INT32, int32_data, int32_t) | ^~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:70:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 70 | if (raw_data_size < size_threshold) { \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:84:9: note: in expansion of macro ‘DO_CASE’ 84 | DO_CASE(INT64, int64_data, int64_t) | ^~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:70:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 70 | if (raw_data_size < size_threshold) { \ | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:85:9: note: in expansion of macro ‘DO_CASE’ 85 | DO_CASE(UINT64, uint64_data, uint64_t) | ^~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/model_util.cc:92:35: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 92 | if (tensor->raw_data().size() < size_threshold) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:49:53: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:36, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:16: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:39:34: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {int}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:43:41: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T) [with T = int]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:52:27: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:351:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 351 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::Symbol; Which = int; Sym2 = onnx::Symbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_consecutive_idempotent_ops.h:30:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [7]; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {int, onnx::BuiltinSymbol}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:41:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T, U, Args ...) [with T = int; U = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:44:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:357:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 357 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [12]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:37:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [8]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:38:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:49:53: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:36, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:16: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:39:34: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {int}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:43:41: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T) [with T = int]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:52:27: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:351:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 351 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::Symbol; Which = int; Sym2 = onnx::Symbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_consecutive_idempotent_ops.h:30:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [7]; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {int, onnx::BuiltinSymbol}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:41:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T, U, Args ...) [with T = int; U = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:44:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:357:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 357 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [12]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:37:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [8]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:38:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] [ 57%] Linking CXX shared library libonnx_optimizer.so [ 57%] Built target onnx_optimizer [ 64%] Building CXX object CMakeFiles/onnx_opt_cpp2py_export.dir/onnxoptimizer/cpp2py_export.cc.o [ 71%] Building CXX object CMakeFiles/onnx_optimizer_c_api.dir/onnxoptimizer/c_api/onnxoptimizer_c_api.cc.o [ 78%] Building CXX object CMakeFiles/onnx_optimizer_exec.dir/examples/onnx_optimizer_exec.cpp.o In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:17, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.h:15, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/c_api/onnxoptimizer_c_api.cc:8: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::patternMatchPredicate(onnx::Node*)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:38:13: warning: unused variable ‘slice_axis’ [-Wunused-variable] 38 | int64_t slice_axis; | ^~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for (int i = 1; i < slice->inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_duplicate_initializer.h:35, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:20: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘std::size_t onnx::optimization::CSETensorHash::operator()(const onnx::Tensor*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:129:10: warning: variable ‘size_hasher’ set but not used [-Wunused-but-set-variable] 129 | auto size_hasher = std::hash(); | ^~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘bool onnx::optimization::CSEEqual::operator()(const onnx::Node*, const onnx::Node*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:262:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 262 | for (int i = 0; i < inputs_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:268:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 268 | for (int i = 0; i < attr_names_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:22: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h: In member function ‘virtual bool onnx::optimization::EliminateIfWithConstCond::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:102:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | for (int i = 0; i < node->outputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:109:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < subgraph_outputs.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:30: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h: In member function ‘virtual bool onnx::optimization::EliminateNopReshape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h:51:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 51 | for (int i = 0; i < new_shape.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/onnx/common/ir.h:29, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.h:10: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h: In member function ‘virtual bool onnx::optimization::EliminateShapeGather::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:48:29: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 48 | ONNX_ASSERT(indices_val < dims.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/onnx/common/array_ref.h:26, from /usr/include/onnx/common/ir.h:28: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h: In member function ‘virtual bool onnx::optimization::EliminateSliceAfterShape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:74:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | assert(slice_start < result_of_shape_op.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:86:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | assert(slice_start < result_of_shape_op.size() && slice_start >= 0); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:39: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h: In member function ‘bool onnx::optimization::FuseBNIntoConv::modify_conv(onnx::Node*, onnx::Node*, onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h:127:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 127 | for (int i = 1; i < conv_W.sizes().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:52: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h: In member function ‘void onnx::optimization::RenameInputOutput::rename_input_output(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:71:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 71 | for (int i = 0; i < graph.inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:83:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 83 | for (int i = 0; i < graph.outputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:57: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h: In member function ‘unsigned int onnx::optimization::EliminateCommonSubexpression::EliminateCommonSubexpressions(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h:50:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 50 | for (int i = 0; i < outputs.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:60: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h: In member function ‘virtual bool onnx::optimization::EliminateOpWithUnit::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h:97:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 97 | for (int i = 0; i < node->inputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/c_api/onnxoptimizer_c_api.cc: In function ‘const char** CopyPasses(const std::vector >&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/c_api/onnxoptimizer_c_api.cc:30:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 30 | while (valid_count <= n) { | ~~~~~~~~~~~~^~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:17, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.h:15, from /builddir/build/BUILD/optimizer-0.3.19/examples/onnx_optimizer_exec.cpp:8: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::patternMatchPredicate(onnx::Node*)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:38:13: warning: unused variable ‘slice_axis’ [-Wunused-variable] 38 | int64_t slice_axis; | ^~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for (int i = 1; i < slice->inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_duplicate_initializer.h:35, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:20: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘std::size_t onnx::optimization::CSETensorHash::operator()(const onnx::Tensor*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:129:10: warning: variable ‘size_hasher’ set but not used [-Wunused-but-set-variable] 129 | auto size_hasher = std::hash(); | ^~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘bool onnx::optimization::CSEEqual::operator()(const onnx::Node*, const onnx::Node*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:262:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 262 | for (int i = 0; i < inputs_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:268:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 268 | for (int i = 0; i < attr_names_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:22: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h: In member function ‘virtual bool onnx::optimization::EliminateIfWithConstCond::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:102:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | for (int i = 0; i < node->outputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:109:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < subgraph_outputs.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:49:53: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:36, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:16: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:39:34: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {int}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:43:41: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T) [with T = int]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:52:27: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:351:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 351 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::Symbol; Which = int; Sym2 = onnx::Symbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_consecutive_idempotent_ops.h:30:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:30: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h: In member function ‘virtual bool onnx::optimization::EliminateNopReshape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h:51:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 51 | for (int i = 0; i < new_shape.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/onnx/common/ir.h:29, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.h:10: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h: In member function ‘virtual bool onnx::optimization::EliminateShapeGather::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:48:29: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 48 | ONNX_ASSERT(indices_val < dims.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/onnx/common/array_ref.h:26, from /usr/include/onnx/common/ir.h:28: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h: In member function ‘virtual bool onnx::optimization::EliminateSliceAfterShape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:74:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | assert(slice_start < result_of_shape_op.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:86:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | assert(slice_start < result_of_shape_op.size() && slice_start >= 0); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [7]; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:39: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h: In member function ‘bool onnx::optimization::FuseBNIntoConv::modify_conv(onnx::Node*, onnx::Node*, onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h:127:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 127 | for (int i = 1; i < conv_W.sizes().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {int, onnx::BuiltinSymbol}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:41:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T, U, Args ...) [with T = int; U = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:44:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:357:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 357 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [12]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:37:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [8]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:38:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:52: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h: In member function ‘void onnx::optimization::RenameInputOutput::rename_input_output(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:71:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 71 | for (int i = 0; i < graph.inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:83:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 83 | for (int i = 0; i < graph.outputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:57: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h: In member function ‘unsigned int onnx::optimization::EliminateCommonSubexpression::EliminateCommonSubexpressions(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h:50:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 50 | for (int i = 0; i < outputs.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:60: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h: In member function ‘virtual bool onnx::optimization::EliminateOpWithUnit::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h:97:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 97 | for (int i = 0; i < node->inputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:49:53: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:36, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:16: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:39:34: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {int}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:43:41: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T) [with T = int]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:52:27: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:351:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 351 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::Symbol; Which = int; Sym2 = onnx::Symbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_consecutive_idempotent_ops.h:30:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [7]; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:17, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.h:15, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/cpp2py_export.cc:10: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::patternMatchPredicate(onnx::Node*)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:38:13: warning: unused variable ‘slice_axis’ [-Wunused-variable] 38 | int64_t slice_axis; | ^~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {int, onnx::BuiltinSymbol}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:41:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h: In member function ‘virtual bool onnx::optimization::AdjustSliceAndMatmul::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | for (int i = 1; i < slice->inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T, U, Args ...) [with T = int; U = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:44:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:357:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 357 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [12]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:37:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [8]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:38:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_duplicate_initializer.h:35, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:20: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘std::size_t onnx::optimization::CSETensorHash::operator()(const onnx::Tensor*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:129:10: warning: variable ‘size_hasher’ set but not used [-Wunused-but-set-variable] 129 | auto size_hasher = std::hash(); | ^~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h: In member function ‘bool onnx::optimization::CSEEqual::operator()(const onnx::Node*, const onnx::Node*) const’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:262:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 262 | for (int i = 0; i < inputs_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/cse_util.h:268:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 268 | for (int i = 0; i < attr_names_l.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:22: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h: In member function ‘virtual bool onnx::optimization::EliminateIfWithConstCond::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:102:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | for (int i = 0; i < node->outputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_if_with_const_cond.h:109:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < subgraph_outputs.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:30: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h: In member function ‘virtual bool onnx::optimization::EliminateNopReshape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_reshape.h:51:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 51 | for (int i = 0; i < new_shape.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/onnx/common/ir.h:29, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/optimize.h:10: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h: In member function ‘virtual bool onnx::optimization::EliminateShapeGather::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:48:29: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 48 | ONNX_ASSERT(indices_val < dims.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/onnx/common/array_ref.h:26, from /usr/include/onnx/common/ir.h:28: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h: In member function ‘virtual bool onnx::optimization::EliminateSliceAfterShape::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:74:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 74 | assert(slice_start < result_of_shape_op.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:86:28: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | assert(slice_start < result_of_shape_op.size() && slice_start >= 0); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:39: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h: In member function ‘bool onnx::optimization::FuseBNIntoConv::modify_conv(onnx::Node*, onnx::Node*, onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_bn_into_conv.h:127:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 127 | for (int i = 1; i < conv_W.sizes().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:52: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h: In member function ‘void onnx::optimization::RenameInputOutput::rename_input_output(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:71:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 71 | for (int i = 0; i < graph.inputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/rename_input_output.h:83:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 83 | for (int i = 0; i < graph.outputs().size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:57: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h: In member function ‘unsigned int onnx::optimization::EliminateCommonSubexpression::EliminateCommonSubexpressions(onnx::Graph&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_common_subexpression.h:50:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 50 | for (int i = 0; i < outputs.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:60: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h: In member function ‘virtual bool onnx::optimization::EliminateOpWithUnit::runTransform(onnx::Node*, onnx::Graph&, onnx::optimization::NodeDestroyType&)’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_nop_with_unit.h:97:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 97 | for (int i = 0; i < node->inputs().size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:49:53: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ In file included from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_add.h:36, from /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/pass_registry.h:16: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:39:34: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::IsConstantTensor(const onnx::Node*, const W&, const Args& ...) [with W = int; Args = {int}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:43:41: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:130:27: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 130 | ONNX_ASSERT(which_input < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T) [with T = int]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/adjust_slice_and_matmul.h:52:27: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:351:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 351 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::Symbol; Which = int; Sym2 = onnx::Symbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_consecutive_idempotent_ops.h:30:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [7]; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_shape_gather.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = char [6]; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/eliminate_slice_after_shape.h:27:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = onnx::BuiltinSymbol; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {int, onnx::BuiltinSymbol}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:41:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘onnx::Node* onnx::optimization::PrevNode(onnx::Node*, T, U, Args ...) [with T = int; U = int; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_concat_into_reshape.h:44:20: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:357:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 357 | ONNX_ASSERT(which < n->inputs().size()); | ^ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [12]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:37:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | return CheckKind(n, s1) && which < n->inputs().size() && | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h: In instantiation of ‘bool onnx::optimization::CheckKind(const onnx::Node*, const Sym1&, const Which&, const Sym2&, const Args& ...) [with Sym1 = char [8]; Which = int; Sym2 = onnx::BuiltinSymbol; Args = {}]’: /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/fuse_pad_into_pool.h:38:21: required from here /builddir/build/BUILD/optimizer-0.3.19/onnxoptimizer/passes/pass_util.h:113:36: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] [ 85%] Linking CXX shared library libonnx_optimizer_c_api.so [ 85%] Built target onnx_optimizer_c_api [ 92%] Linking CXX executable onnx_optimizer_exec [ 92%] Built target onnx_optimizer_exec [100%] Linking CXX shared module onnx_opt_cpp2py_export.cpython-310-x86_64-linux-gnu.so [100%] Built target onnx_opt_cpp2py_export creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/__init__.py -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/__main__.py -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/onnxoptimizer_main.py -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/version.py -> build/lib.linux-x86_64-cpython-310/onnxoptimizer running egg_info creating onnxoptimizer.egg-info writing onnxoptimizer.egg-info/PKG-INFO writing dependency_links to onnxoptimizer.egg-info/dependency_links.txt writing entry points to onnxoptimizer.egg-info/entry_points.txt writing requirements to onnxoptimizer.egg-info/requires.txt writing top-level names to onnxoptimizer.egg-info/top_level.txt writing manifest file 'onnxoptimizer.egg-info/SOURCES.txt' reading manifest file 'onnxoptimizer.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.c' under directory 'onnxoptimizer' warning: no files found matching '*.proto' under directory 'onnxoptimizer' warning: no files found matching '*' under directory 'third_party' adding license file 'LICENSE' writing manifest file 'onnxoptimizer.egg-info/SOURCES.txt' /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'onnxoptimizer.c_api' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'onnxoptimizer.c_api' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'onnxoptimizer.c_api' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'onnxoptimizer.c_api' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'onnxoptimizer.passes' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'onnxoptimizer.passes' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'onnxoptimizer.passes' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'onnxoptimizer.passes' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying onnxoptimizer/cpp2py_export.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/model_util.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/model_util.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/optimize.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/optimize.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/pass.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/pass.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/pass_manager.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/pass_manager.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/pass_registry.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer copying onnxoptimizer/pass_registry.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer creating build/lib.linux-x86_64-cpython-310/onnxoptimizer/c_api copying onnxoptimizer/c_api/onnxoptimizer_c_api.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/c_api copying onnxoptimizer/c_api/onnxoptimizer_c_api.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/c_api creating build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/adjust_add.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/adjust_slice_and_matmul.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/bitscast.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/cse_util.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/data_type.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_common_subexpression.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_consecutive_idempotent_ops.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_deadend.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_duplicate_initializer.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_identity.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_if_with_const_cond.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_cast.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_concat.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_dropout.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_expand.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_flatten.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_monotone_argmax.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_pad.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_reshape.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_split.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_transpose.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_nop_with_unit.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_shape_gather.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_shape_op.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_slice_after_shape.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/eliminate_unused_initializer.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/extract_constant_to_initializer.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_add_bias_into_conv.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_bn_into_conv.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_concat_into_reshape.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_consecutive_concats.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_consecutive_log_softmax.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_consecutive_reduce_unsqueeze.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_consecutive_slices.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_consecutive_squeezes.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_consecutive_transposes.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_consecutive_unsqueezes.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_matmul_add_bias_into_gemm.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_pad_into_conv.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_pad_into_pool.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_qkv.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/fuse_transpose_into_gemm.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/lift_lexical_references.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/logging.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/nop.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/pass_util.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/pass_util.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/rename_input_output.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/replace_einsum_with_matmul.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/rewrite_input_dtype.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/set_unique_name_for_nodes.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/split.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/string_utils.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/tensor_util.cc -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes copying onnxoptimizer/passes/tensor_util.h -> build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes running build_ext copying /builddir/build/BUILD/optimizer-0.3.19/.setuptools-cmake-build/onnx_opt_cpp2py_export.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILD/optimizer-0.3.19/build/lib.linux-x86_64-cpython-310/onnxoptimizer + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UFQJit + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS ~/build/BUILD/optimizer-0.3.19/.setuptools-cmake-build ~/build/BUILD/optimizer-0.3.19 + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd optimizer-0.3.19 + pushd .setuptools-cmake-build + make install DESTDIR=/builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64 [ 57%] Built target onnx_optimizer [ 71%] Built target onnx_optimizer_exec [ 85%] Built target onnx_optimizer_c_api [100%] Built target onnx_opt_cpp2py_export Install the project... -- Install configuration: "RelWithDebug" -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/c_api -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/c_api/onnxoptimizer_c_api.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/model_util.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/optimize.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/pass.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/pass_manager.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/pass_registry.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/adjust_add.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/adjust_slice_and_matmul.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/bitscast.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/cse_util.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/data_type.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_common_subexpression.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_consecutive_idempotent_ops.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_deadend.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_duplicate_initializer.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_identity.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_if_with_const_cond.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_cast.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_concat.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_dropout.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_expand.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_flatten.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_monotone_argmax.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_pad.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_reshape.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_split.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_transpose.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_nop_with_unit.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_shape_gather.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_shape_op.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_slice_after_shape.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/eliminate_unused_initializer.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/extract_constant_to_initializer.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_add_bias_into_conv.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_bn_into_conv.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_concat_into_reshape.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_consecutive_concats.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_consecutive_log_softmax.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_consecutive_reduce_unsqueeze.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_consecutive_slices.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_consecutive_squeezes.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_consecutive_transposes.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_consecutive_unsqueezes.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_matmul_add_bias_into_gemm.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_pad_into_conv.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_pad_into_pool.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_qkv.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/fuse_transpose_into_gemm.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/lift_lexical_references.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/logging.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/nop.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/pass_util.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/rename_input_output.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/replace_einsum_with_matmul.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/rewrite_input_dtype.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/set_unique_name_for_nodes.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/split.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/string_utils.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/passes/tensor_util.h -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/include/onnxoptimizer/test -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/cmake/ONNXOptimizer/ONNXOptimizerConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/cmake/ONNXOptimizer/ONNXOptimizerConfig.cmake -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/cmake/ONNXOptimizer/ONNXOptimizerTargets.cmake -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/cmake/ONNXOptimizer/ONNXOptimizerTargets-relwithdebug.cmake -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/libonnx_optimizer.so -- Installing: /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/libonnx_optimizer_c_api.so + popd ~/build/BUILD/optimizer-0.3.19 + export ONNX_ML=1 + ONNX_ML=1 + export ONNX_NAMESPACE=onnx + ONNX_NAMESPACE=onnx + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DONNX_NAMESPACE=onnx -DONNX_ML=1' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DONNX_NAMESPACE=onnx -DONNX_ML=1' + export 'CMAKE_ARGS=-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_BUILD_TYPE=RelWithDebug' + CMAKE_ARGS='-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_BUILD_TYPE=RelWithDebug' + /usr/bin/python3 setup.py install --root /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64 /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'license-file' will not be supported in future versions. Please use the underscore name 'license_file' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running create_version running cmake_build Extra cmake args: ['-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON', '-DCMAKE_INSTALL_PREFIX:PATH=/usr', '-DBUILD_SHARED_LIBS:BOOL=ON', '-DCMAKE_SKIP_RPATH=ON', '-DCMAKE_VERBOSE_MAKEFILE=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebug'] -- Found pybind11: /usr/include (found version "2.10.4") -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/optimizer-0.3.19/.setuptools-cmake-build [ 57%] Built target onnx_optimizer [ 71%] Built target onnx_optimizer_c_api [ 85%] Built target onnx_optimizer_exec [ 92%] Linking CXX shared module onnx_opt_cpp2py_export.cpython-310-x86_64-linux-gnu.so [100%] Built target onnx_opt_cpp2py_export copying onnxoptimizer/version.py -> build/lib.linux-x86_64-cpython-310/onnxoptimizer running egg_info writing onnxoptimizer.egg-info/PKG-INFO writing dependency_links to onnxoptimizer.egg-info/dependency_links.txt writing entry points to onnxoptimizer.egg-info/entry_points.txt writing requirements to onnxoptimizer.egg-info/requires.txt writing top-level names to onnxoptimizer.egg-info/top_level.txt reading manifest file 'onnxoptimizer.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.c' under directory 'onnxoptimizer' warning: no files found matching '*.proto' under directory 'onnxoptimizer' warning: no files found matching '*' under directory 'third_party' adding license file 'LICENSE' writing manifest file 'onnxoptimizer.egg-info/SOURCES.txt' /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'onnxoptimizer.c_api' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'onnxoptimizer.c_api' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'onnxoptimizer.c_api' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'onnxoptimizer.c_api' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'onnxoptimizer.passes' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'onnxoptimizer.passes' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'onnxoptimizer.passes' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'onnxoptimizer.passes' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) running build_ext copying /builddir/build/BUILD/optimizer-0.3.19/.setuptools-cmake-build/onnx_opt_cpp2py_export.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILD/optimizer-0.3.19/build/lib.linux-x86_64-cpython-310/onnxoptimizer running install_lib creating /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages creating /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/__init__.py -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/__main__.py -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/onnxoptimizer_main.py -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/cpp2py_export.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/model_util.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/model_util.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/optimize.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/optimize.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/pass.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/pass.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/pass_manager.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/pass_manager.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/pass_registry.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/pass_registry.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer creating /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/c_api copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/c_api/onnxoptimizer_c_api.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/c_api copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/c_api/onnxoptimizer_c_api.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/c_api creating /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/adjust_add.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/adjust_slice_and_matmul.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/bitscast.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/cse_util.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/data_type.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_common_subexpression.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_consecutive_idempotent_ops.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_deadend.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_duplicate_initializer.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_identity.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_if_with_const_cond.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_cast.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_concat.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_dropout.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_expand.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_flatten.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_monotone_argmax.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_pad.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_reshape.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_split.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_transpose.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_nop_with_unit.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_shape_gather.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_shape_op.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_slice_after_shape.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/eliminate_unused_initializer.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/extract_constant_to_initializer.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_add_bias_into_conv.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_bn_into_conv.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_concat_into_reshape.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_consecutive_concats.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_consecutive_log_softmax.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_consecutive_reduce_unsqueeze.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_consecutive_slices.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_consecutive_squeezes.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_consecutive_transposes.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_consecutive_unsqueezes.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_matmul_add_bias_into_gemm.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_pad_into_conv.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_pad_into_pool.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_qkv.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/fuse_transpose_into_gemm.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/lift_lexical_references.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/logging.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/nop.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/pass_util.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/pass_util.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/rename_input_output.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/replace_einsum_with_matmul.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/rewrite_input_dtype.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/set_unique_name_for_nodes.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/split.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/string_utils.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/tensor_util.cc -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/passes/tensor_util.h -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/passes copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/version.py -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer copying build/lib.linux-x86_64-cpython-310/onnxoptimizer/onnx_opt_cpp2py_export.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer byte-compiling /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/__main__.py to __main__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/onnxoptimizer_main.py to onnxoptimizer_main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/version.py to version.cpython-310.pyc running install_egg_info Copying onnxoptimizer.egg-info to /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer-0.3.19-py3.10.egg-info running install_scripts Installing onnxoptimizer script to /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64//usr/bin + mkdir -p /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64//usr/include/onnx + ln -sf /usr/include/onnxoptimizer /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64//usr/include/onnx/optimizer + install -pm 0755 .setuptools-cmake-build/onnx_optimizer_exec /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64//usr/bin/ + sed -i 's|[<=>].*||g' /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer-0.3.19-py3.10.egg-info/requires.txt + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.3.19-1.an23 --unique-debug-suffix -0.3.19-1.an23.x86_64 --unique-debug-src-base onnx-optimizer-0.3.19-1.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/optimizer-0.3.19 extracting debug info from /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/libonnx_optimizer.so extracting debug info from /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10/site-packages/onnxoptimizer/onnx_opt_cpp2py_export.cpython-310-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/libonnx_optimizer_c_api.so extracting debug info from /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/bin/onnx_optimizer_exec original debug info size: 19116kB, size after compression: 15380kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 438 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files Warning: undefined symbols in /usr/lib64/python3.10/site-packages/onnxoptimizer/onnx_opt_cpp2py_export.cpython-310-x86_64-linux-gnu.so: PyInstanceMethod_Type PyExc_ValueError _Py_TrueStruct PyExc_IndexError PyCapsule_Type _Py_NoneStruct PyExc_MemoryError PyType_Type PyByteArray_Type PyCFunction_Type PyExc_OverflowError PyProperty_Type PyExc_RuntimeError _Py_NotImplementedStruct PyBaseObject_Type PyExc_TypeError _Py_FalseStruct PyExc_FutureWarning PyExc_SystemError PyExc_ImportError PyTuple_SetItem PyObject_Repr PyByteArray_Size PyErr_NormalizeException PyInstanceMethod_New PyEval_AcquireThread PyObject_Str PyThreadState_DeleteCurrent PyGILState_GetThisThreadState PyObject_GetAttrString PyMem_Free PyErr_Restore PyType_IsSubtype PyModule_AddObject PyErr_WarnEx PyCapsule_SetPointer PyTuple_New PyObject_IsInstance PyException_SetTraceback PyBytes_FromStringAndSize PyDict_Next PyTuple_Size PyErr_Format PyObject_CallObject PyUnicode_DecodeUTF8 _Py_Dealloc PyByteArray_AsString PyList_New _PyObject_GetDictPtr PyUnicode_FromString Py_GetVersion PyCapsule_SetContext PyFrame_GetLineNumber PyThread_tss_get PyBytes_Size PySequence_Check PyException_SetContext PyErr_Clear PyObject_HasAttrString PyWeakref_NewRef PyDict_New PyErr_SetString PyCapsule_GetContext PyThreadState_Get PyObject_SetItem PyCapsule_New PyMem_Calloc PyObject_SetAttrString PyGILState_Release PyCapsule_GetPointer PyThread_tss_alloc PyBytes_AsString PyDict_GetItemWithError PyThread_tss_set PyObject_GetItem PyType_Ready PyEval_SaveThread PySequence_GetItem PyObject_ClearWeakRefs PyObject_GC_UnTrack PySequence_Size PyEval_GetBuiltins PyErr_WriteUnraisable PyGILState_Check PyModule_Create2 PyThread_tss_create PyFrame_GetBack PyCapsule_SetName PyUnicode_AsEncodedString PyErr_Occurred PyDict_Copy PyErr_Fetch PyThreadState_New _PyThreadState_UncheckedGet _PyType_Lookup PyDict_Size PyThreadState_Clear PyDict_DelItemString PyUnicode_AsUTF8AndSize PyGILState_Ensure PyCMethod_New PyCapsule_GetName PyTuple_GetItem PyFrame_GetCode PyException_SetCause PyUnicode_AsUTF8String PyBytes_AsStringAndSize + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: onnx-optimizer-0.3.19-1.an23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3IA7SI + umask 022 + cd /builddir/build/BUILD + cd optimizer-0.3.19 + DOCDIR=/builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/share/doc/onnx-optimizer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/share/doc/onnx-optimizer + cp -pr README.md /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/share/doc/onnx-optimizer + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZpAGIT + umask 022 + cd /builddir/build/BUILD + cd optimizer-0.3.19 + LICENSEDIR=/builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/share/licenses/onnx-optimizer + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/share/licenses/onnx-optimizer + cp -pr LICENSE /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64/usr/share/licenses/onnx-optimizer + RPM_EC=0 ++ jobs -p + exit 0 Provides: libonnx_optimizer.so()(64bit) libonnx_optimizer_c_api.so()(64bit) onnx-optimizer = 0.3.19-1.an23 onnx-optimizer(x86-64) = 0.3.19-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libonnx.so()(64bit) libonnx_optimizer.so()(64bit) libonnx_proto.so()(64bit) libprotobuf.so.31()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: onnx-optimizer-devel-0.3.19-1.an23.x86_64 warning: absolute symlink: /usr/include/onnx/optimizer -> /usr/include/onnxoptimizer Provides: cmake(ONNXOptimizer) = 0.3.19 cmake(onnxoptimizer) = 0.3.19 onnx-optimizer-devel = 0.3.19-1.an23 onnx-optimizer-devel(x86-64) = 0.3.19-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem(x86-64) Processing files: onnx-optimizer-python3-0.3.19-1.an23.x86_64 Provides: onnx-optimizer-python3 = 0.3.19-1.an23 onnx-optimizer-python3(x86-64) = 0.3.19-1.an23 python3.10dist(onnxoptimizer) = 0.3.19 python3dist(onnxoptimizer) = 0.3.19 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libonnx_optimizer.so()(64bit) libonnx_proto.so()(64bit) libprotobuf.so.31()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) python(abi) = 3.10 python3.10dist(onnx) rtld(GNU_HASH) Processing files: onnx-optimizer-debugsource-0.3.19-1.an23.x86_64 Provides: onnx-optimizer-debugsource = 0.3.19-1.an23 onnx-optimizer-debugsource(x86-64) = 0.3.19-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: onnx-optimizer-debuginfo-0.3.19-1.an23.x86_64 Provides: debuginfo(build-id) = 13c9b32e6b1ac45ead3a43a9ef97f2ee56e827cf debuginfo(build-id) = 360f7926e8db23063bfd2fcac9cc017207a6b28d debuginfo(build-id) = f8c91c2b4213e8af3988b0b2141cbe970fb5df21 libonnx_optimizer.so-0.3.19-1.an23.x86_64.debug()(64bit) libonnx_optimizer_c_api.so-0.3.19-1.an23.x86_64.debug()(64bit) onnx-optimizer-debuginfo = 0.3.19-1.an23 onnx-optimizer-debuginfo(x86-64) = 0.3.19-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: onnx-optimizer-debugsource(x86-64) = 0.3.19-1.an23 Processing files: onnx-optimizer-python3-debuginfo-0.3.19-1.an23.x86_64 Provides: debuginfo(build-id) = 620cd1293889bc296713e5b507d293d9f3c4e6f8 onnx-optimizer-python3-debuginfo = 0.3.19-1.an23 onnx-optimizer-python3-debuginfo(x86-64) = 0.3.19-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: onnx-optimizer-debugsource(x86-64) = 0.3.19-1.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/onnx-optimizer-0.3.19-1.an23.x86_64 Wrote: /builddir/build/RPMS/onnx-optimizer-debugsource-0.3.19-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/onnx-optimizer-devel-0.3.19-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/onnx-optimizer-python3-0.3.19-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/onnx-optimizer-0.3.19-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/onnx-optimizer-python3-debuginfo-0.3.19-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/onnx-optimizer-debuginfo-0.3.19-1.an23.x86_64.rpm RPM build warnings: absolute symlink: /usr/include/onnx/optimizer -> /usr/include/onnxoptimizer Child return code was: 0