Yi-1.5-9B-Chat β AWQ 4-bit
Auto-quantized from 01-ai/Yi-1.5-9B-Chat
by fastserve's self-quantization pipeline
(publish/) β so it can be trusted the way a random community AWQ requant
sometimes can't. Two community quants fastserve auto-detected during its own
benchmark run looped garbage tokens instead of answering; every checkpoint
published here passed an accuracy gate against its bf16 baseline first.
Quantization
- Method: AWQ (W4A16_ASYM), group size 128, via llm-compressor
- Calibration: 256 samples from
ultrachat-200k
Validation (accuracy gate β this is why you can trust it)
| bf16 baseline | this AWQ checkpoint | |
|---|---|---|
| GSM8K accuracy (n=30) | 0.4333 | 0.6 |
Within 0.1 (absolute) of the bf16 baseline, <30% degenerate (repeated-token loops). A checkpoint that failed this gate would not have been uploaded.
Original vs vLLM vs fastserve
Same GSM8K prompts (n=8), single-stream (batch-1) greedy decode, one A100-80GB.
"fastserve" = this AWQ checkpoint + speculative decoding (ngram) on vLLM.
Memory = weights only (bf16 vs AWQ); vLLM's KV-cache budget is a separate knob.
| Original (HF bf16) | vLLM (bf16) | fastserve (AWQ+spec) | |
|---|---|---|---|
| GSM8K acc | 0.375 | 0.5 | 0.375 |
| Decode speed | 38.6 tok/s | 77.5 tok/s | 173.2 tok/s |
| Weights (VRAM) | 16.45 GiB | 16.45 GiB | 5.0 GiB |
Serve it with fastserve
fastserve auto-detects this checkpoint β point it at the original model id and it finds this AWQ + wires up speculative decoding:
git clone https://github.com/jireh-father/fastserve && cd fastserve && ./install.sh
# serve an OpenAI-compatible API (auto-picks this AWQ checkpoint)
./fastserve serve 01-ai/Yi-1.5-9B-Chat
# or benchmark the speedup vs the naive baseline
./fastserve bench 01-ai/Yi-1.5-9B-Chat --compare-baseline
Then query it like any OpenAI endpoint:
curl localhost:8000/v1/completions \
-d '{"model": "glenic/Yi-1.5-9B-Chat-AWQ", "prompt": "Q: What is 17*4?\nA:", "max_tokens": 64}'
Or serve directly with vLLM
pip install vllm
python -m vllm.entrypoints.openai.api_server --model glenic/Yi-1.5-9B-Chat-AWQ
License
Inherits the base model's license β see
01-ai/Yi-1.5-9B-Chat for terms.
- Downloads last month
- 44
Model tree for glenic/Yi-1.5-9B-Chat-AWQ
Base model
01-ai/Yi-1.5-9B-Chat