-
Notifications
You must be signed in to change notification settings - Fork 11.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
quantize: Handle user-defined quantization levels for additional tensors #12511
base: master
Are you sure you want to change the base?
Conversation
That's an excellent idea! and it'll allow to add all supported tensor types (50+) without creating a mess of parameters. Plus, it will give me something to do over the weekend 😆 |
Yeah, I think this is definitely the way to go - the regex support of that PR gives really good flexibility. |
This PR adds the ability to quantize other tensors, beyond token-embedding and output-tensor. It handles most of the supported architectures except Mamba, RWKV6, RWKV6QWEN2 and T5 to avoid having too many command options, but can add as well if maintainers request it.
For full background on the PR, please see: Squeezing Tensor Bits: the quest for smaller LLMs