Views
No views yet
| Property | Value |
|---|---|
| Base Model | deepseek-ai/deepseek-moe-16b-chat |
| Architecture | Mixture of Experts (64 experts, 6 active + 2 shared) |
| Total Parameters | ~16B |
| Active Parameters | ~2.8B |
| Quantization Method | GPTQ |
| Format | float-quantized (FP8 E4M3) |
| Strategy | tensor |
| Weight Bits | 8 (FP8) |
| Activation Bits | 8 (FP8) |
| Group Size | N/A (per-tensor) |
| Calibration Data | 512 samples from HuggingFaceH4/ultrachat_200k (max seq len 2048) |
1from llmcompressor.modifiers.gptq import GPTQModifier
2
3recipe = GPTQModifier(
4 targets="Linear",
5 scheme="FP8",
6 ignore=["lm_head", "re:.*mlp\.gate$", "model.layers.0.mlp.down_proj"],
7)lm_head — output projection, sensitive to quantizationre:.*mlp\.gate$ — MoE router weights (64-expert routing decisions)model.layers.0.mlp.down_proj — dense first layer, column count (10944) not divisible by group size 128Note: llm-compressor v0.11.0 has a known bug whereactorder: "static"is written for channel/tensor-strategy quantization. vLLM v0.22.1+ rejects this. The config in this repo has been patched (actorder: null).
1pip install vllm
2vllm serve soyrsoyr/deepseek-moe-16b-chat-FP8-GPTQ --max-model-len 2048 --trust-remote-code1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8000/v1", api_key="unused")
4response = client.chat.completions.create(
5 model="soyrsoyr/deepseek-moe-16b-chat-FP8-GPTQ",
6 messages=[{"role": "user", "content": "Explain quantization in one sentence."}],
7 max_tokens=128,
8)
9print(response.choices[0].message.content)