Skip to content

Extend builder support for quantized lm_head - #1022

Merged
kunal-vaishnavi merged 5 commits into
microsoft:mainfrom
BowenBao:bowenbao/quant_lmhead
Nov 5, 2024
Merged

Extend builder support for quantized lm_head#1022
kunal-vaishnavi merged 5 commits into
microsoft:mainfrom
BowenBao:bowenbao/quant_lmhead

Conversation

@BowenBao

@BowenBao Bowen Bao (BowenBao) commented Oct 31, 2024

Copy link
Copy Markdown
Contributor

As title. This enables support for further reduced quantized model size and improved runtime efficiency, within acceptable range of accuracy degradation.

Orthogonal to #940. This PR targets already quantized models in autoawq/autogptq format that has lmhead quantized.

@BowenBao

Copy link
Copy Markdown
Contributor Author

kunal-vaishnavi ptal, thanks.

Comment thread src/python/py/models/quantized_model.py
Comment thread src/python/py/models/quantized_model.py Outdated
Comment thread src/python/py/models/quantized_model.py Outdated
@BowenBao Bowen Bao (BowenBao) changed the title Extend builder support for awq quantized lm_head Extend builder support for quantized lm_head Nov 5, 2024
@kunal-vaishnavi
kunal-vaishnavi merged commit 1392b7e into microsoft:main Nov 5, 2024
aciddelgado pushed a commit that referenced this pull request Nov 5, 2024
As title. This enables support for further reduced quantized model size
and improved runtime efficiency, within acceptable range of accuracy
degradation.

Orthogonal to #940. This PR targets already quantized models in
autoawq/autogptq format that **has** lmhead quantized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants