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

[Question] What is the recommended API for deprecated SetDynamicRange? #4292

Open
Benjamin-Tan opened this issue Dec 19, 2024 · 1 comment
Open

Comments

@Benjamin-Tan
Copy link

From the sample code https://github.com/NVIDIA/TensorRT/blob/release/10.7/samples/sampleINT8API/sampleINT8API.cpp#L338, it is still using the deprecated API setDynamicRange since TensorRT 10.1. What is the recommended way to implement this? Is there any example on explicit quantization in C++?

@lix19937
Copy link

Yes, it deprecated in TensorRT 10.1. Superseded by explicit quantization. Explicit quantization means QAT, see https://github.com/NVIDIA/TensorRT/tree/release/10.7/tools/pytorch-quantization .

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

No branches or pull requests

2 participants