---
title: DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
canonical_url: "https://www.modelscope.cn/models/T-HEAD/DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken"
md_url: "https://www.modelscope.cn/models/T-HEAD/DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken.md"
repository: T-HEAD/DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
last_updated: 2026-08-24
license: mit
model_type:
  - deepseek_v4
architectures:
  - DeepseekV4ForCausalLM
base_model:
  - deepseek-ai/DeepSeek-V4-Pro-0813
base_model_relation: quantized
parameters: 889.5B
tensor_type:
  - F32
  - I64
  - U8
  - F8_E4M3
  - BF16
library_name:
  - safetensors
downloads: 1882
stars: 1
---

# DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken

> DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken - T-HEAD 在 ModelScope 开源的模型。Model Architecture: DeepseekV4ForCausalLM Input: Text Output: Text Inference Engine: vLLM/SGLang Quantization: moe: w1, w2, w3 - Weight…

T-HEAD/DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken 是 ModelScope 魔搭社区上的 889.5B 参数机器学习模型，采用 mit 许可，基于 deepseek-ai/DeepSeek-V4-Pro-0813 构建。

- **Repository**: T-HEAD/DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
- **License**: mit
- **Parameters**: 889.5B
- **Base model**: deepseek-ai/DeepSeek-V4-Pro-0813
- **Downloads**: 1882
- **Stars**: 1
- **Last updated**: 2026-08-24

Source: https://www.modelscope.cn/models/T-HEAD/DeepSeek-V4-Pro-0813-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken

---

# Model Overview

- **Model Architecture:** DeepseekV4ForCausalLM
  - **Input:** Text
  - **Output:** Text
- **Inference Engine:** [vLLM](https://docs.vllm.ai/en/latest/)/[SGLang](https://docs.sglang.io/)
- **Quantization:**
  - **moe:** `w1`, `w2`, `w3` 
    - **Weight quantization:** OCP MXFP4, Static
    - **Activation quantization:** OCP MXFP4, Dynamic
  - **shared_experts:** `w1`, `w2`, `w3` 
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token
  - **attn:** `wq_a`, `wq_b`, `wkv`, `wo_a`, `wo_b`, `indexer.wq_b` 
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token
  - **mtp:** `main_proj` 
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token

This model was built with DeepSeek-V4-Pro-0813 model by applying MXFP4 and FP8 quantization.

# Deployment
### Use with vLLM

This model can be deployed efficiently using the [vLLM](https://docs.vllm.ai/en/latest/) backend.

## Evaluation
The model was evaluated on GSM8K C-EVAL benchmarks. 

### Accuracy

<table>
  <tr>
   <td><strong>Benchmark</strong>
   </td>
   <td><strong>DeepSeek-V4-Pro-0813</strong>
   </td>
   <td><strong>DeepSeek-V4-Pro-0813-MXFP4-FP8 (this model)</strong>
   </td>
   <td><strong>Recovery</strong>
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>97.57
   </td>
   <td>97.27
   </td>
   <td>99.69%
   </td>
  </tr>
  <tr>
   <td>C-Eval
   </td>
   <td>77.86
   </td>
   <td>78.53
   </td>
   <td>100.86%
   </td>
  </tr>
</table>

### Reproduction

The GSM8K C-EVAL results were obtained using the `EvalScope` and `vLLM` framework.

Install T-head vLLM `(Version: 0.25.0)` and EvalScope `(Version: 1.5.1)` in container first.

#### Launching server
```
MODEL_PATH=<Path to DeepSeek-V4-Pro-0813-MXFP4-FP8>
VLLM_USE_MODELSCOPE=true vllm serve $MODEL_PATH \
  --tensor-parallel-size 8 \
  --gpu-memory-utilization 0.95 \
  --tool-call-parser deepseek_v4 \
  --reasoning-parser deepseek_v4 \
  --trust-remote-code \
  --served-model-name DeepSeek-V4-Pro-0813 \
  --tokenizer-mode deepseek_v4 \
  --trust-remote-code \
  --max-model-len -1 \
  --block-size 256 \
  --kv-cache-dtype fp8 \
  --enable-prefix-caching \
  --enable-auto-tool-choice \
  --speculative-config '{"method": "dspark", "num_speculative_tokens": 7, "draft_sample_method": "probabilistic"}'
```

#### Evaluating model in a new terminal
```
evalscope eval \
  --modelDeepSeek-V4-Pro-0813 --api-url http://127.0.0.1:8000/v1 \
  --eval-type openai_api --datasets gsm8k \
  --dataset-args '{"gsm8k": {"few_shot_num": 0, "filters": {"remove_until": "</think>"}}}' \
  --eval-batch-size 32 \
  --generation-config '{"max_tokens": 384000, "temperature": 1.0, "top_p": 1.0, "extra_body": {"reasoning_effort": "high", 
    "chat_template_kwargs": {"thinking": true}}}' \
  --timeout 60000 --stream --work-dir outputs 
  --timeout 60000 \
  --stream \
  --batch-size 32 \
  --eval-batch-size 32 \
  --work-dir outputs
```

### Use with SGLang

This model can be deployed efficiently using the [SGLang](https://docs.sglang.io/) backend.

## Evaluation
The model was evaluated on IFEval GSM8K C-EVAL MMLU_pro benchmarks. 

### Accuracy

<table>
  <tr>
   <td><strong>Benchmark</strong>
   </td>
   <td><strong>DeepSeek-V4-Pro-0813</strong>
   </td>
   <td><strong>DeepSeek-V4-Pro-0813-MXFP4-FP8 (this model)</strong>
   </td>
   <td><strong>Recovery</strong>
   </td>
  </tr>
  <tr>
   <td>IFEval
   </td>
   <td>93.72
   </td>
   <td>92.61
   </td>
   <td>98.82%
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>97.42
   </td>
   <td>97.04
   </td>
   <td>99.61%
   </td>
  </tr>
  <tr>
   <td>C-Eval
   </td>
   <td>78.16
   </td>
   <td>79.65
   </td>
   <td>101.91%
   </td>
  </tr>
   <tr>
   <td>MMLU_pro
   </td>
   <td>87.35
   </td>
   <td>87.46
   </td>
   <td>100.13%
   </td>
  </tr>
</table>

### Reproduction

The IFEval GSM8K C-EVAL MMLU_pro results were obtained using the `EvalScope` and `SGLang` framework.

Install T-head SGLang `(Version: 0.5.13)` and EvalScope `(Version: 1.5.1)` in container first.

#### Launching server
```
MODEL_PATH=<Path to DeepSeek-V4-Pro-0813-MXFP4-FP8>
SGLANG_USE_MODELSCOPE=true sglang serve \
      --dist-init-addr <Node 0 IP>:23456 \
      --nnodes 2 \
      --node-rank 0 \
      --model-path $MODEL_PATH \
      --tp-size 16 \
      --mem-fraction-static 0.8 \
      --speculative-algorithm EAGLE \
      --speculative-num-steps 2 \
      --speculative-eagle-topk 1 \
      --speculative-num-draft-tokens 3 \
      --deepep-mode auto \
      --enable-dp-attention \
      --dp-size 16 \
      --trust-remote-code \
      --watchdog-timeout 6000 \
      --dist-timeout 6000 \
      --served-model-name DeepSeek-V4-Pro-0813 \
      --reasoning-parser deepseek-v4 \
      --tool-call-parser deepseekv4 \
      --speculative-attention-mode decode \
      --moe-a2a-backend deepep \
      --moe-dense-tp-size 1 \
      --cuda-graph-max-bs 64 \
      --enable-dp-lm-head \
      --disable-piecewise-cuda-graph \
      --enable-deepseek-v4-fp4-indexer
```
Because this is a two-node deployment (--nnodes 2), for node 1 you only need to change --node-rank 0 to --node-rank 1; all other arguments stay the same.

#### Evaluating model in a new terminal
```
evalscope eval \
      --model DeepSeek-V4-Pro-0813 \
      --api-url http://127.0.0.1:8999/v1 \
      --eval-type openai_api \
      --datasets gsm8k \
      --dataset-args '{"gsm8k": {"few_shot_num": 0, "filters": {"remove_until": "</think>"}}}' \
      --generation-config '{"max_tokens": 384000, "temperature": 1.0, "top_p": 1.0, "extra_body": {"reasoning_effort": "high", 
    "chat_template_kwargs": {"thinking": true}}}' \
      --timeout 60000 \
      --stream \
      --batch-size 32 \
      --eval-batch-size 32 \
      --work-dir outputs
```

# License
Copyright (c) 2026, T-Head (Shanghai) Semiconductor Co., Ltd.
