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

Support for int2/int3 quantization #2704

Open
ZHITENGLI opened this issue Jan 20, 2025 · 3 comments
Open

Support for int2/int3 quantization #2704

ZHITENGLI opened this issue Jan 20, 2025 · 3 comments
Assignees
Labels
Investigating Low Precision Issue about lower bit quantization, including int8, int4, fp8 triaged Issue has been triaged by maintainers

Comments

@ZHITENGLI
Copy link

Hi, I would like to inquire if you plan to support INT2/INT3 quantization in the near future, or if it's possible to implement them by modifying some kernels. I'm interested in understanding the effort required to support INT2/INT3 quantization. Additionally, I noticed that AWQ supports INT3 with 128 groups (int3g128), while trt-llm currently only supports INT4. Could you provide more insight into this?

@nv-guomingz
Copy link
Collaborator

@Tracin would u please answer this question?

@nv-guomingz nv-guomingz added the Low Precision Issue about lower bit quantization, including int8, int4, fp8 label Jan 20, 2025
@github-actions github-actions bot added triaged Issue has been triaged by maintainers Investigating labels Jan 20, 2025
@Tracin
Copy link
Collaborator

Tracin commented Jan 21, 2025

INT2/INT3 is feasible I think. You can wrote a new plugin for TRT and implement the kernel function.

@ZHITENGLI
Copy link
Author

So for int2/int3, we need to rewrite the kernel function instead of reusing the existing int4 framework?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Investigating Low Precision Issue about lower bit quantization, including int8, int4, fp8 triaged Issue has been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

3 participants