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

INT8 Quantization of dinov2 TensorRT Model is Not Faster than FP16 Quantization #4273

Open
mr-lz opened this issue Dec 6, 2024 · 2 comments
Assignees
Labels
quantization Issues related to Quantization triaged Issue has been triaged by maintainers

Comments

@mr-lz
Copy link

mr-lz commented Dec 6, 2024

Hello,

I used PyTorch-Quantization for post-training INT8 quantization on the dinov2-base model and then converted it to a TensorRT model. However, I found that the INT8 model is slightly slower than the FP16 model (the same conclusion was observed on A100, V100, and A10). Is this behavior normal?

Thank you.

@lix19937
Copy link

maybe many ops not run with int8 and add more reformat layers.

@asfiyab-nvidia asfiyab-nvidia added the quantization Issues related to Quantization label Dec 16, 2024
@asfiyab-nvidia
Copy link
Collaborator

cc @akhilg-nv for additional comment

@asfiyab-nvidia asfiyab-nvidia added the triaged Issue has been triaged by maintainers label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quantization Issues related to Quantization triaged Issue has been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

4 participants