Skip to content
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

Add ModelOpt support #513

Closed
wants to merge 6 commits into from
Closed

Conversation

sam-india-007
Copy link

Change in builder utility to enable an option to use NVIDIA's TensorRT Model Optimizer https://github.com/NVIDIA/TensorRT-Model-Optimizer

@sam-india-007
Copy link
Author

@microsoft-github-policy-service agree company="NVIDIA"

@kunal-vaishnavi
Copy link
Contributor

Thank you for your contribution!

How long does the int4_awq_clip quantization take with modelopt? The goal of the model builder is to quickly produce and save the final ONNX model to disk within a few minutes max. If int4_awq_clip takes a while, a note will need to be added somewhere so users are aware in advance that the model builder will take time to run with int4_awq_clip quantization enabled.

@sam-india-007
Copy link
Author

ModelOpt quantization with int4_awq_clip can take significant amount of time, but results in smaller and better quantization. Added a disclaimer in the README to this end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants