Skip to content

Internal computational problems using quantified model inference #24427

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

Open
LZLwoaini opened this issue Apr 15, 2025 · 0 comments
Open

Internal computational problems using quantified model inference #24427

LZLwoaini opened this issue Apr 15, 2025 · 0 comments
Labels
quantization issues related to quantization

Comments

@LZLwoaini
Copy link

Quantify the YOLO model to int8 using onnxruntime, and insert quantization and inverse quantization nodes when using QDQ quantization. As shown in the figure below, inverse quantization is performed before convolution calculation. So, should floating-point calculation still be maintained during convolution calculation? So the significance of quantification is only to make the model smaller? Moreover, it was observed that the convolution output tensor is of floating-point type. Why? Thank you!

Image

Image

@github-actions github-actions bot added the quantization issues related to quantization label Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quantization issues related to quantization
Projects
None yet
Development

No branches or pull requests

1 participant