-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[Bug]: Loading GPTQ-quantized GPTBigCode fails in weight_loader_v2 of qptq_marlin #8116
Closed
1 task done
Labels
bug
Something isn't working
Comments
Thanks for reporting @maxdebayser! We'll look into this For now I was able to replicate with a gpt_bigcode model:
|
Seems like this was fixed by #7976 |
I think this makes sense, and is what we hope for during this weight loading refactor! Thanks for testing |
Thanks for fixing this so quickly, @dsikka |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your current environment
The output of `python collect_env.py`
🐛 Describe the bug
When loading a gptbigcode model that has been quantized with gptq the loading fails and prints this stacktrace:
The problem is that the marlin kernel is used ("The model is convertible to gptq_marlin during runtime. Using gptq_marlin kernel." appears in the log) and this kernel is using vLLMParameters since #7281.
Forcing the use of
qptq
instead ofmarlin
with--quantization gptq
allows us to load and run the model correctly because the equivalent change in GPTQ hasn't been merged yet (#7976). But someone else in our team tested this PR and got similar results.The first parameter that fails to be loaded is
transformer.h.0.attn.c_attn.g_idx
I've tried adding
in
QKVParallelLinear.weight_loader_v2()
and that makes the problem go away, but I suspect that this isn't the correct fix. I'd appreciate some guidance on this to open a proper PR for this problem.Before submitting a new issue...
The text was updated successfully, but these errors were encountered: