This is 2-bit quantization of
Qwen/Qwen-72B-Chat using
QuIP#
Random samples from C4 are used as calibration data.
For Chinese related tasks, please use the
zh branch instead, which use bilingual text from C4 and SkyPile as calibration data.
Please follow the instruction of
QuIP-for-all for usage.
As an alternative, you can use
vLLM branch for faster inference. QuIP has to launch like 5 kernels for each linear layer, so it's very helpful for vLLM to use cuda-graph to reduce launching overhead. BTW, If you have problem installing fast-hadamard-transform from pip, you can also install it from
source
Latency at batch size 1: 13.5 tokens/s.