feat: add onnxslim (#2258)
* feat: add onnxslim
* fix style and rename simplify to slim
* add onnxslim tests
* fix format
* add slim args for main_export and make slim true in test_export_cli for tests
* fix format
* add is_onnxslim_available func and add onnxslim to test dependency
* refactor format and pin onnxslim to 0.1.53
* Update optimum/exporters/onnx/convert.py
Co-authored-by: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com>
* Update tests/exporters/onnx/test_export_cli.py
Co-authored-by: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com>
* use glob and refactor tests
* Update optimum/exporters/onnx/convert.py
* Update tests/exporters/onnx/test_export_cli.py
* remove glob
* fix tests error
* add slim to _onnx_export
* Update optimum/exporters/onnx/convert.py
---------
Co-authored-by: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com>