-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[quant] supports act_order inputs in Matmulnbits and new quantization algorithm "hqq" #19106
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wejoncy
changed the title
Jicwen/matmulnbits gptq
[quant] matmulnbits support 2-8 bits, act_order, gptq/hqq
Jan 12, 2024
wejoncy
changed the title
[quant] matmulnbits support 2-8 bits, act_order, gptq/hqq
[quant] matmulnbits supports 2-8 bits with act_order and new quantization "hqq"
Jan 12, 2024
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
from
January 12, 2024 08:25
01bfa24
to
555e34a
Compare
wejoncy
changed the title
[quant] matmulnbits supports 2-8 bits with act_order and new quantization "hqq"
[quant] supports 2-8 bits kernel with act_order inputs in Op Matmulnbits and new quantization "hqq"
Jan 12, 2024
yufenglee
reviewed
Jan 16, 2024
yufenglee
reviewed
Jan 16, 2024
onnxruntime/contrib_ops/cpu/quantization/dequantizeLinear_blockwise_imp.cc
Fixed
Show fixed
Hide fixed
yufenglee
reviewed
Jan 17, 2024
yufenglee
reviewed
Jan 17, 2024
yufenglee
reviewed
Jan 17, 2024
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
2 times, most recently
from
January 20, 2024 11:45
ed1cd8c
to
1594d7b
Compare
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
from
February 7, 2024 05:59
6117551
to
2e58ea2
Compare
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
from
February 23, 2024 05:53
de14fbc
to
1a2328e
Compare
wejoncy
changed the title
[quant] supports 2-8 bits kernel with act_order inputs in Op Matmulnbits and new quantization "hqq"
[quant] supports act_order inputs in Matmulnbits and new quantization algorithm "hqq"
Feb 23, 2024
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
2 times, most recently
from
February 26, 2024 08:59
8084a75
to
1167ad7
Compare
yufenglee
reviewed
Feb 27, 2024
yufenglee
reviewed
Feb 27, 2024
yufenglee
reviewed
Feb 27, 2024
yufenglee
reviewed
Feb 27, 2024
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
from
February 27, 2024 03:09
e011c2b
to
012227c
Compare
address comments
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
from
February 27, 2024 03:21
012227c
to
fd51543
Compare
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
from
February 27, 2024 10:13
0deef36
to
9449f21
Compare
wejoncy
force-pushed
the
jicwen/matmulnbits_gptq
branch
from
February 28, 2024 03:06
9449f21
to
6a3caa6
Compare
yufenglee
approved these changes
Mar 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zz002
pushed a commit
to zz002/onnxruntime
that referenced
this pull request
Mar 7, 2024
… algorithm "hqq" (microsoft#19106) ### Description <!-- Describe your changes. --> 1. Support quantized GPTQ weight in huggingface like [TheBloke/Llama-2-7B-Chat-GPTQ](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GPTQ) 2. Support Act_order for GPTQ 3. Support [HQQ](https://mobiusml.github.io/hqq_blog/) algorithm to quantize matmul weight and add quant script ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
adrianlizarraga
added a commit
that referenced
this pull request
Mar 29, 2024
…20146) ### Description Fixes code that extracts the accuracy level when creating a MatMulNBits node in the `DefaultWeightOnlyQuantizer` class. ### Motivation and Context Error from line 443: `AttributeError: 'DefaultWeightOnlyQuantizer' object has no attribute 'accuracy_level'`. The solution is to access `self.config.accuracy_level` instead of `self.accuracy_level`. Relevant commit: #19106
TedThemistokleous
pushed a commit
to TedThemistokleous/onnxruntime
that referenced
this pull request
May 7, 2024
…icrosoft#20146) ### Description Fixes code that extracts the accuracy level when creating a MatMulNBits node in the `DefaultWeightOnlyQuantizer` class. ### Motivation and Context Error from line 443: `AttributeError: 'DefaultWeightOnlyQuantizer' object has no attribute 'accuracy_level'`. The solution is to access `self.config.accuracy_level` instead of `self.accuracy_level`. Relevant commit: microsoft#19106
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Motivation and Context