-
Notifications
You must be signed in to change notification settings - Fork 192
feat: add onnxslim support #478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: inisis <[email protected]>
setup.py
Outdated
| "onnxruntime-gpu~=1.22.0 ; platform_machine != 'aarch64' and platform_system != 'Darwin' and platform_system != 'Windows'", # noqa: E501 | ||
| "onnxruntime-directml==1.20.0; platform_system == 'Windows'", | ||
| "onnxscript", # For test_onnx_dynamo_export unit test | ||
| "onnxsim ; python_version < '3.12' and platform_machine != 'aarch64'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove onnxsim installation if it's no longer being used, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Signed-off-by: inisis <[email protected]>
|
@gcunhase Hi, any update here? Thanks. |
|
@inisis I'm still validating Specifically, please check that the following CLI is still functional and performant: $ python -m modelopt.onnx.quantization --onnx_path=/mnt/models/bevformer_tiny_epoch_24_cp2_op13.onnx \
--trt_plugins=$PLUGIN_PATH \
--op_types_to_exclude MatMul \
--calibration_data_path=/workspace/BEVFormer_tensorrt/data/nuscenes/calib_data.npz \
--simplifyThanks! |
What does this PR do?
Type of change:
Add onnxslim support
Overview: Onnxslim is under active development and committed to long-time-support, it's easy to use and is dependent on very few packages.
Usage
# Add a code snippet demonstrating how to use thisTesting
Before your PR is "Ready for review"
Additional Information