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

GPTQ Quantization Need use_marlin #1967

Open
wanghaichen1 opened this issue Jul 22, 2024 · 1 comment
Open

GPTQ Quantization Need use_marlin #1967

wanghaichen1 opened this issue Jul 22, 2024 · 1 comment

Comments

@wanghaichen1
Copy link

Feature request

refer to https://github.com/AutoGPTQ/AutoGPTQ/blob/main/README.md

2024-02-15 - (News) - AutoGPTQ 0.7.0 is released, with [Marlin](https://github.com/IST-DASLab/marlin) int4*fp16 matrix multiplication kernel support, with the argument use_marlin=True when loading models.

https://github.com/huggingface/optimum/blob/main/optimum/gptq/quantizer.py need a kernel choice config

Motivation

See benchmark with different autogptq kernel:
https://github.com/huggingface/optimum/blob/main/tests/benchmark/README.md

Your contribution

PR if need

@Qubitium
Copy link

@wanghaichen1 Try GPTQModel where we monkeypatched HF integration which replaces AutoGPTQ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants