You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing such a simple quantization method, but now I have encountered a problem.
I used "modelopt.onnx.quantization" for int8 quantization and then tested the inference speed with trtexec.
In the end, I found that the inference speed of int8 was slower than fp16, regardless of whether I used minxmax or entropy for calibration.
The average inference speed of the model using fp16 before quantization on the RTX4090 was 6.74 ms, while after quantization, the model using int8 had an average inference speed of 8.62 ms.
I'm using TensorRT 8.6.1 and modelopt 0.15.1.
You can download the original model, calibration data, and execution scripts from the link.
There is some performance gain, but it is lower than expected. The accurate QDQ placement will need to be discussed with the TensorRT team. Hence I would recommend raising an issue there.
We recently introduced another feature that in modelopt called autotune. With autotune, the latency is significantly higher. This is the command I used:
Activity
ajrasane commentedon Mar 20, 2026
Hello, I quantized the model shared above with the following command:
There is some performance gain, but it is lower than expected. The accurate QDQ placement will need to be discussed with the TensorRT team. Hence I would recommend raising an issue there.
We recently introduced another feature that in modelopt called autotune. With autotune, the latency is significantly higher. This is the command I used:
I hope this resolves your issue.
Modelopt version: latest main
TensorRT version: 10.13.2.2