---
title: Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
canonical_url: "https://www.modelscope.cn/models/T-HEAD/Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken"
md_url: "https://www.modelscope.cn/models/T-HEAD/Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken.md"
repository: T-HEAD/Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
last_updated: 2026-11-10
license: apache-2.0
model_type:
  - qwen3_5_moe_text
architectures:
  - Qwen3_5MoeForCausalLM
base_model:
  - Qwen/Qwen3.8-2.4T-A95B-FP8
base_model_relation: quantized
parameters: 1260.8B
tensor_type:
  - U8
  - BF16
  - F32
  - F8_E4M3
library_name:
  - safetensors
downloads: 1760
stars: 0
---

# Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken

> Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken - T-HEAD 在 ModelScope 开源的模型。Model Architecture: Qwen35MoeForCausalLM Input: Text Output: Text Inference Engine: vLLM/SGLang Quantization: moe: upproj, gateproj,…

T-HEAD/Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken 是 ModelScope 魔搭社区上的 1260.8B 参数机器学习模型，采用 apache-2.0 许可，基于 Qwen/Qwen3.8-2.4T-A95B-FP8 构建。

- **Repository**: T-HEAD/Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
- **License**: apache-2.0
- **Parameters**: 1260.8B
- **Base model**: Qwen/Qwen3.8-2.4T-A95B-FP8
- **Downloads**: 1760
- **Stars**: 0
- **Last updated**: 2026-11-10

Source: https://www.modelscope.cn/models/T-HEAD/Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken

---

# Model Overview

- **Model Architecture:** Qwen3_5MoeForCausalLM
  - **Input:** Text
  - **Output:** Text
- **Inference Engine:** [vLLM](https://docs.vllm.ai/en/latest/)/[SGLang](https://docs.sglang.io/)
- **Quantization:**
  - **moe:** `up_proj`, `gate_proj`, `down_proj`
    - **Weight quantization:** OCP MXFP4, Static
    - **Activation quantization:** OCP MXFP4, Dynamic
  - **shared_expert:** `up_proj`, `gate_proj`, `down_proj` 
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token
  - **linear_attn:** `in_proj_qkv`, `in_proj_z`, `out_proj`
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token
  - **self_attn:** `q_proj`, `k_proj`, `v_proj`, `o_proj` 
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token

This model was built with Qwen3.8-2.4T-A95B-FP8 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 C-EVAL GSM8K MMLU-Pro benchmarks. 

### Accuracy

<table>
  <tr>
   <td><strong>Benchmark</strong>
   </td>
   <td><strong>Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken (this model)</strong>
   </td>
  </tr>
  <tr>
   <td>C-EVAL
   </td>
   <td>94.28
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>97.8
   </td>
  </tr>
  <tr>
   <td>MMLU-Pro
   </td>
   <td>88.11
   </td>
  </tr>
</table>

### Reproduction

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

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

#### Launching server
```
MODEL_PATH=<Path to Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken>
VLLM_USE_MODELSCOPE=true vllm serve $MODEL_PATH \
  --trust-remote-code \
  --tensor-parallel-size=8 \
  --pipeline-parallel-size=2 \
  --nnodes=2 \
  --node-rank=0 \
  --master-addr=$HEAD_IP \
  --gpu-memory-utilization=0.90 \
  --max-model-len auto \
  --cpu_distributed_timeout_seconds 6000 \
  --enable_prefix_caching --port 8999

VLLM_USE_MODELSCOPE=true vllm serve $MODEL_PATH \
  --trust-remote-code \
  --tensor-parallel-size=8 \
  --pipeline-parallel-size=2 \
  --nnodes=2 \
  --node-rank=1 \
  --master-addr=$HEAD_IP \
  --gpu-memory-utilization=0.90 \
  --max-model-len auto \
  --cpu_distributed_timeout_seconds 6000 \
  --enable_prefix_caching

```

#### Evaluating model in a new terminal
```
evalscope eval \
  --model Qwen3.8-2.4T-A95B --api-url http://127.0.0.1:8999/v1  --api-key EMPTY \
  --eval-type openai_api --datasets gsm8k \
  --dataset-args '{"gsm8k": {"few_shot_num": 0, "filters": {"remove_until": "</think>"}}}' \
  --generation-config '{"max_tokens": 32768, "temperature": 1.0, "top_p": 0.95, "n": 1, "min_p": "0.0", "presence_penalty": "0.0", "top_k": 20, "repetition_penalty": "1.0"}' \
  --timeout 60000 --stream --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 C-Eval GSM8K benchmarks. 

### Accuracy

<table>
  <tr>
   <td><strong>Benchmark</strong>
   </td>
   <td><strong>Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken (this model)</strong>
   </td>
  </tr>
  <tr>
   <td>C-EVAL
   </td>
   <td>93.68
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>97.8
   </td>
  </tr>
</table>

### Reproduction

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

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

#### Launching server
```
MODEL_PATH=<Path to Qwen3.8-2.4T-A95B-FP8-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken>
SGLANG_USE_MODELSCOPE=true sglang serve --model-path $MODEL_PATH \
  --host 0.0.0.0 --port 8999 --dist-init-addr <MasterNodeIP:Port> --nnodes 2 --node-rank 0 \
  --tp-size 16 --attention-backend fa3 --mem-fraction-static 0.9 --page-size 64 \
  --trust-remote-code --model-loader-extra-config '{"enable_multithread_load": true, "num_threads": 32}' \
  --served-model-name Qwen3.8-2.4T-A95B --stream-interval 128 --disable-custom-all-reduce \
  --moe-dense-tp-size 1 --disable-shared-experts-fusion --max-mamba-cache-size 32 \
  --mamba-scheduler-strategy extra_buffer --disable-piecewise-cuda-graph 2

SGLANG_USE_MODELSCOPE=true sglang serve --model-path $MODEL_PATH \
  --host 0.0.0.0 --port 8999 --dist-init-addr <MasterNodeIP:Port> --nnodes 2 --node-rank 1 \
  --tp-size 16 --attention-backend fa3 --mem-fraction-static 0.9 --page-size 64 \
  --trust-remote-code --model-loader-extra-config '{"enable_multithread_load": true, "num_threads": 32}' \
  --served-model-name Qwen3.8-2.4T-A95B --stream-interval 128 --disable-custom-all-reduce \
  --moe-dense-tp-size 1 --disable-shared-experts-fusion --max-mamba-cache-size 32 \
  --mamba-scheduler-strategy extra_buffer --disable-piecewise-cuda-graph 2
```

#### Evaluating model in a new terminal
```
evalscope eval \
  --model Qwen3.8-2.4T-A95B --api-url http://127.0.0.1:8999/v1  --api-key EMPTY \
  --eval-type openai_api --datasets gsm8k \
  --dataset-args '{"gsm8k": {"few_shot_num": 0, "filters": {"remove_until": "</think>"}}}' \
  --eval-batch-size 64 \
  --generation-config '{"max_tokens": 32768, "temperature": 1.0, "top_p": 0.95, "n": 1, "min_p": "0.0", "presence_penalty": "0.0", "top_k": 20, "repetition_penalty": "1.0"}' \
  --timeout 60000 --stream --work-dir outputs
```

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