---
title: GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken
canonical_url: "https://www.modelscope.cn/models/T-HEAD/GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken"
md_url: "https://www.modelscope.cn/models/T-HEAD/GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken.md"
repository: T-HEAD/GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken
last_updated: 2026-10-19
license: apache-2.0
model_type:
  - glm5_next
architectures:
  - Glm5NextForConditionalGeneration
base_model:
  - zai-org/GLM-5.3-Flash
base_model_relation: quantized
parameters: 321.3B
tensor_type:
  - F8_E4M3
  - F32
  - BF16
library_name:
  - safetensors
downloads: 1436
stars: 1
---

# GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken

> GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken - T-HEAD 在 ModelScope 开源的模型。Release Date: 2026-09-17 Model Architecture: GlmMoeDsaForCausalLM Input: Image-Text Output: Text Inference Engine: SGLang Quantization: dense (layers 0-2): upproj, gateproj,…

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

- **Repository**: T-HEAD/GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken
- **License**: apache-2.0
- **Parameters**: 321.3B
- **Base model**: zai-org/GLM-5.3-Flash
- **Downloads**: 1436
- **Stars**: 1
- **Last updated**: 2026-10-19

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

---

# Model Overview

- **Release Date:** 2026-09-17
- **Model Architecture:** GlmMoeDsaForCausalLM
  - **Input:** Image-Text
  - **Output:** Text
- **Inference Engine:** [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:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token
  - **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`, `o_proj`
    - **Weight quantization:** FP8, Static, Per-Channel
    - **Activation quantization:** FP8, Dynamic, Per-Token

This model was built with GLM-5.3-Flash model by applying FP8 quantization.

# Deployment
### 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-Flash</strong>
   </td>
   <td><strong>GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken (this model)</strong>
   </td>
   <td><strong>Recovery</strong>
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>97.42
   </td>
   <td>96.74
   </td>
   <td>99.30%
   </td>
  </tr>
  <tr>
   <td>IFEval
   </td>
   <td>90.57
   </td>
   <td>91.24
   </td>
   <td>100.73%
   </td>
  </tr>
  <tr>
   <td>C-EVAL
   </td>
   <td>94.21
   </td>
   <td>94.13
   </td>
   <td>99.91%
   </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.18)` and EvalScope `(Version: 1.5.1)` in container first.

#### Launching server
```
MODEL_PATH=<Path to GLM-5.3-Flash-Quant-W-FP8-PerChannel-A-FP8-PerToken>
SGLANG_USE_MODELSCOPE=true sglang serve --model-path $MODEL_PATH \
  --tp-size 8 --attention-backend nsa --mem-fraction-static 0.9 --trust-remote-code \
  --kv-cache-dtype bfloat16 --dist-timeout 3600 --watchdog-timeout 3600 \
  --served-model-name GLM-5.3-Flash --reasoning-parser glm45 --tool-call-parser glm47 \
  --nsa-prefill-backend flashmla_sparse --nsa-decode-backend tilelang --disable-piecewise-cuda-graph
```

#### Evaluating model in a new terminal
```
evalscope eval \
  --model GLM-5.3-Flash --api-url http://127.0.0.1:8000/v1  --api-key EMPTY \
  --eval-type openai_api --datasets ceval \
  --dataset-args '{"ceval": {"few_shot_num": 0, "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.
