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

QTIP: Quantization with Trellises and Incoherence Processing #6512

Open
latheesan-k opened this issue Nov 3, 2024 · 0 comments
Open

QTIP: Quantization with Trellises and Incoherence Processing #6512

latheesan-k opened this issue Nov 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@latheesan-k
Copy link

Description

Add support for QTIP quantisation?

QTIP, a weight-only large language model (LLM) quantization method that achieves a state-of-the-art combination of quantization quality and speed. QTIP uses incoherence processing to make LLM weight matrices approximately i.i.d Gaussian, and then uses trellis coded quantization (TCQ) to quantize these weights with near-optimal distortion. QTIP solves naive TCQ's inherent slowness by introducing a series of novel compute-based codes for use with the "bitshift trellis."

Additional Context

Paper: https://arxiv.org/abs/2406.11235
Implementation: https://github.com/Cornell-RelaxML/qtip
Converted Models: https://huggingface.co/collections/relaxml/qtip-quantized-models-66fa253ad3186746f4b62803

@latheesan-k latheesan-k added the enhancement New feature or request label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant