Downloads · 30 days
32
21% of all-time downloads
keyfan/Qwen-72B-Chat-2bit
Qwen-72B-Chat-2bit is a text generation model from keyfan. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
This is 2-bit quantization of Qwen/Qwen-72B-Chat using QuIP
Downloads · 30 days
32
21% of all-time downloads
All-time downloads
150
Public
Repo size
42.4 GB
Likes
7
Public
Click a slice to open those files.
.bin22.5 GB · 100%
From the Hugging Face model README
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
Measured at Wikitext with 4096 context length
| fp16 | 2-bit |
|---|---|
| 5.8438 | 6.9492 |
Latency and throughput are measured using vLLM (examples/benchmark_latency.py and examples/benchmark_throughput.py respectively) at single A100-80G.
Latency at batch size 1: 13.5 tokens/s.
Throughput: 0.77 requests/s