Mistral-7B-Instruct-v0.3 — AWQ 4-bit
Auto-quantized from mistralai/Mistral-7B-Instruct-v0.3
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.4 | 0.3333 |
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.25 | 0.375 |
| Decode speed | 56.1 tok/s | 96.8 tok/s | 212.7 tok/s |
| Weights (VRAM) | 27.0 GiB | 27.0 GiB | 3.88 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 mistralai/Mistral-7B-Instruct-v0.3
# or benchmark the speedup vs the naive baseline
./fastserve bench mistralai/Mistral-7B-Instruct-v0.3 --compare-baseline
Then query it like any OpenAI endpoint:
curl localhost:8000/v1/completions \
-d '{"model": "glenic/Mistral-7B-Instruct-v0.3-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/Mistral-7B-Instruct-v0.3-AWQ
License
Inherits the base model's license — see
mistralai/Mistral-7B-Instruct-v0.3 for terms.
- Downloads last month
- 60
Model tree for glenic/Mistral-7B-Instruct-v0.3-AWQ
Base model
mistralai/Mistral-7B-v0.3