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

CUDA kernel of weight only quantization #13

Open
Sekri0 opened this issue Sep 30, 2024 · 1 comment
Open

CUDA kernel of weight only quantization #13

Sekri0 opened this issue Sep 30, 2024 · 1 comment

Comments

@Sekri0
Copy link

Sekri0 commented Sep 30, 2024

As mentioned in README, [Note that due to the limitations of AutoGPTQ kernels, the real quantization of weight-only quantization can only lead memory reduction, but with slower inference speed.]
I'm a little confused. Does this mean that ABQ-LLM's weight-only quantization directly reuses GPTQ's cuda kernel?

@zengchao0424
Copy link

zengchao0424 commented Oct 2, 2024

Thanks for your attention to our work. Matrix multiplication of int and float is not supported, but based on our experience in model optimization, the effect of int16 and float16 will be basically aligned (sd or llm).

So I suggest you try W2Aint16. In this case, you can directly use our operator for acceleration. Our operator is suitable for W2 scenarios.

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