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 | int-quantized (INT4) |
| Strategy | group |
| Weight Bits | 4 |
| Activation Bits | 16 (unquantized) |
| Group Size | 128 |
| 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="W4A16",
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 1281pip install vllm
2vllm serve soyrsoyr/deepseek-moe-16b-chat-W4A16-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-W4A16-GPTQ",
6 messages=[{"role": "user", "content": "Explain quantization in one sentence."}],
7 max_tokens=128,
8)
9print(response.choices[0].message.content)