Downloads · 30 days
15
17% of all-time downloads
soyrsoyr/deepseek-moe-16b-chat-FP8-GPTQ
deepseek-moe-16b-chat-FP8-GPTQ is a text generation model from soyrsoyr. 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.
FP8 quantized version of deepseek-ai/deepseek-moe-16b-chat using GPTQ via llm-compressor.
Downloads · 30 days
15
17% of all-time downloads
All-time downloads
86
Public
Parameters
16.4B
16.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.8 GB · 100%
How the weights are stored.
F8_E4M315.9B · 97%
From the Hugging Face model README
FP8 quantized version of deepseek-ai/deepseek-moe-16b-chat using GPTQ via llm-compressor.
| 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) |
Quantized with llm-compressor v0.11.0 on an NVIDIA H200 GPU.
from llmcompressor.modifiers.gptq import GPTQModifier
recipe = GPTQModifier(
targets="Linear",
scheme="FP8",
ignore=["lm_head", "re:.*mlp\.gate$", "model.layers.0.mlp.down_proj"],
)
Ignored layers:
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 where
actorder: "static"is written for channel/tensor-strategy quantization. vLLM v0.22.1+ rejects this. The config in this repo has been patched (actorder: null).
pip install vllm
vllm serve soyrsoyr/deepseek-moe-16b-chat-FP8-GPTQ --max-model-len 2048 --trust-remote-code
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="unused")
response = client.chat.completions.create(
model="soyrsoyr/deepseek-moe-16b-chat-FP8-GPTQ",
messages=[{"role": "user", "content": "Explain quantization in one sentence."}],
max_tokens=128,
)
print(response.choices[0].message.content)
Part of DeepSeek-MoE-16B-Chat GPTQ Quantized — all four schemes (W4A16, W8A8, FP8, NVFP4) compared side by side.