---
title: GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
canonical_url: "https://www.modelscope.cn/models/T-HEAD/GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken"
md_url: "https://www.modelscope.cn/models/T-HEAD/GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken.md"
repository: T-HEAD/GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
last_updated: 2026-10-19
license: apache-2.0
model_type:
  - glm_moe_dsa
architectures:
  - GlmMoeDsaForCausalLM
base_model:
  - zai-org/GLM-5.3
base_model_relation: quantized
parameters: 386.1B
tensor_type:
  - U8
  - F32
  - BF16
  - F8_E4M3
library_name:
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 1496
stars: 2
---

# GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken

> GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken - T-HEAD 在 ModelScope 开源的模型。Model Architecture: GlmMoeDsaForCausalLM Input: Text Output: Text Inference Engine: vLLM/SGLang Quantization: dense (layers 0-2): upproj, gateproj,…

T-HEAD/GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken 是 ModelScope 魔搭社区上的 386.1B 参数机器学习模型，采用 apache-2.0 许可，基于 zai-org/GLM-5.3 构建。

- **Repository**: T-HEAD/GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken
- **License**: apache-2.0
- **Parameters**: 386.1B
- **Base model**: zai-org/GLM-5.3
- **Downloads**: 1496
- **Stars**: 2
- **Last updated**: 2026-10-19

Source: https://www.modelscope.cn/models/T-HEAD/GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken

---

# Model Overview

- **Model Architecture:** GlmMoeDsaForCausalLM
  - **Input:** Text
  - **Output:** Text
- **Inference Engine:** [vLLM](https://docs.vllm.ai/en/latest/)/[SGLang](https://docs.sglang.io/)
- **Quantization:**
  - **dense (layers 0-2):** `up_proj`, `gate_proj`, `down_proj`
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token
  - **moe:** `up_proj`, `gate_proj`, `down_proj`
    - **Weight quantization:** OCP MXFP4, Static
    - **Activation quantization:** OCP MXFP4, Dynamic
  - **shared_experts:** `up_proj`, `gate_proj`, `down_proj` 
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token
  - **self_attn:** `q_a_proj`, `q_b_proj`, `kv_a_proj_with_mqa`, `kv_b_proj`, `o_proj`, `indexer.wq_b`, `indexer.wk`
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token

This model was built with GLM-5.3 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 IFEval GSM8K C-EVAL benchmarks. 

### Accuracy

<table>
  <tr>
   <td><strong>Benchmark</strong>
   </td>
   <td><strong>GLM-5.3</strong>
   </td>
   <td><strong>GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken (this model)</strong>
   </td>
   <td><strong>Recovery</strong>
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>96.89
   </td>
   <td>97.5
   </td>
   <td>100.62%
   </td>
  </tr>
  <tr>
   <td>IFEval
   </td>
   <td>90.57
   </td>
   <td>90.76
   </td>
   <td>100.2%
   </td>
  </tr>
  <tr>
   <td>C-EVAL
   </td>
   <td>93.46
   </td>
   <td>94.06
   </td>
   <td>100.46%
   </td>
  </tr>
</table>

### Reproduction

The IFEval GSM8K C-EVAL 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 GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken>
VLLM_USE_MODELSCOPE=true vllm serve $MODEL_PATH \
  --tensor-parallel-size 8 --pipeline-parallel-size 1 --gpu-memory-utilization 0.9 \
  --max-model-len auto --trust-remote-code --speculative-config '{"method": "mtp", "num_speculative_tokens": 2}' \
  --served-model-name GLM-5.3 --enable-prefix-caching
```

#### Evaluating model in a new terminal
```
evalscope eval \
  --model GLM-5.3 --api-url http://127.0.0.1:8000/v1  --api-key EMPTY \
  --eval-type openai_api --datasets gsm8k \
  --dataset-args '{"gsm8k": {"filters": {"remove_until": "</think>"}}}' \
  --eval-batch-size 128 \
  --generation-config '{"max_tokens": 32768, "temperature": 1, "top_p": 0.95, "n": 1}' \
  --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 IFEval GSM8K C-EVAL benchmarks. 

### Accuracy

<table>
  <tr>
   <td><strong>Benchmark</strong>
   </td>
   <td><strong>GLM-5.3</strong>
   </td>
   <td><strong>GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken (this model)</strong>
   </td>
   <td><strong>Recovery</strong>
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>97.8
   </td>
   <td>97.19
   </td>
   <td>99.37%
   </td>
  </tr>
  <tr>
   <td>IFEval
   </td>
   <td>90.2
   </td>
   <td>90.2
   </td>
   <td>100.0%
   </td>
  </tr>
  <tr>
   <td>C-EVAL
   </td>
   <td>93.83
   </td>
   <td>93.98
   </td>
   <td>100.15%
   </td>
  </tr>
</table>

### Reproduction

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

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

#### Launching server
```
MODEL_PATH=<Path to GLM-5.3-MoE-Quant-W-MXFP4-A-MXFP4-Dense-Quant-W-FP8-PerChannel-A-FP8-PerToken>
SGLANG_USE_MODELSCOPE=true sglang serve --model-path $MODEL_PATH \
  --tp-size 8 --mem-fraction-static 0.9 --speculative-algorithm EAGLE \
  --speculative-num-steps 2 --speculative-eagle-topk 1 --speculative-num-draft-tokens 3 \
  --deepep-mode auto --enable-dp-attention --dp-size 8 --trust-remote-code \
  --max-running-requests 40 --num-continuous-decode-steps 1 \
  --dist-timeout 3600 --enable-dp-lm-head --watchdog-timeout 3600 \
  --served-model-name GLM-5.3 --reasoning-parser glm45 --tool-call-parser glm47 \
  --enable-metrics --decode-attention-backend flashmla --prefill-attention-backend fa3 \
  --disable-custom-all-reduce --enforce-disable-flashinfer-allreduce-fusion \
  --speculative-attention-mode decode --moe-a2a-backend deepep --moe-dense-tp-size 1 \
  --disable-shared-experts-fusion --cuda-graph-max-bs 40 --disable-piecewise-cuda-graph
```

#### Evaluating model in a new terminal
```
evalscope eval \
  --model GLM-5.3 --api-url http://127.0.0.1:8000/v1  --api-key EMPTY \
  --eval-type openai_api --datasets gsm8k \
  --dataset-args '{"gsm8k": {"filters": {"remove_until": "</think>"}}}' \
  --eval-batch-size 128 \
  --generation-config '{"max_tokens": 32768, "temperature": 1, "top_p": 0.95, "n": 1}' \
  --timeout 60000 --stream --work-dir outputs
```

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