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

[WIP] GPTQModel select quant linear with pack #2138

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LRL-ModelCloud
Copy link
Contributor

No description provided.

@Qubitium
Copy link
Contributor

This PR addresses the issue where GPTQModel is unable to auto-select the fastest quant linear (Marlin) due to missing information regarding if this model is loaded via pre-trained or from_quantized. Add pack=True requirement to hf_select_quant_linear (for pretrained quantization will solve this. Without the PR, user need to manually set backend="marlin" to use Marlin. This PR allows auto selection of Marlin, if compatible, in default auto mode.

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

Successfully merging this pull request may close these issues.

2 participants