---
title: GLM-5.3-Quant-W-INT8-PerChannel-A-INT8-PerToken
canonical_url: "https://www.modelscope.cn/models/T-HEAD/GLM-5.3-Quant-W-INT8-PerChannel-A-INT8-PerToken"
md_url: "https://www.modelscope.cn/models/T-HEAD/GLM-5.3-Quant-W-INT8-PerChannel-A-INT8-PerToken.md"
repository: T-HEAD/GLM-5.3-Quant-W-INT8-PerChannel-A-INT8-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: 753.3B
tensor_type:
  - I8
  - F32
  - BF16
library_name:
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 1508
stars: 1
---

# GLM-5.3-Quant-W-INT8-PerChannel-A-INT8-PerToken

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

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

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

Source: https://www.modelscope.cn/models/T-HEAD/GLM-5.3-Quant-W-INT8-PerChannel-A-INT8-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:** INT8, Static, Per-Channel
    - **Activation quantization:** INT8, Dynamic, Per-Token
  - **moe:** `up_proj`, `gate_proj`, `down_proj`
    - **Weight quantization:** INT8, Static, Per-Channel
    - **Activation quantization:** INT8, Dynamic, Per-Token
  - **shared_experts:** `up_proj`, `gate_proj`, `down_proj` 
    - **Weight quantization:** INT8, Static, Per-Channel
    - **Activation quantization:** INT8, 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:** INT8, Static, Per-Channel
    - **Activation quantization:** INT8, Dynamic, Per-Token

This model was built with GLM-5.3 model by applying W8A8-INT8 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 MMLU-Pro benchmarks. 

### Accuracy

<table>
  <tr>
   <td><strong>Benchmark</strong>
   </td>
   <td><strong>GLM-5.3</strong>
   </td>
   <td><strong>GLM-5.3-Quant-W-INT8-PerChannel-A-INT8-PerToken (this model)</strong>
   </td>
   <td><strong>Recovery</strong>
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>96.89
   </td>
   <td>97.88
   </td>
   <td>101.0%
   </td>
  </tr>
  <tr>
   <td>IFEval
   </td>
   <td>90.57
   </td>
   <td>90.94
   </td>
   <td>100.40%
   </td>
  </tr>
  <tr>
   <td>MMLU-Pro
   </td>
   <td>86.05
   </td>
   <td>86.41
   </td>
   <td>100.41%
   </td>
  </tr>
</table>

### Reproduction

The IFEval 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 GLM-5.3-Quant-W-INT8-PerChannel-A-INT8-PerToken>
VLLM_USE_MODELSCOPE=true vllm serve $MODEL_PATH \
  --tensor-parallel-size 16 --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-Quant-W-INT8-PerChannel-A-INT8-PerToken (this model)</strong>
   </td>
   <td><strong>Recovery</strong>
   </td>
  </tr>
  <tr>
   <td>GSM8K
   </td>
   <td>97.8
   </td> 
   <td>97.57
   </td>
   <td>99.76%
   </td>
  </tr>
  <tr>
   <td>IFEval
   </td>
   <td>90.2
   </td>
   <td>89.78
   </td>
   <td>99.53%
   </td>
  </tr>
  <tr>
   <td>C-EVAL
   </td>
   <td>93.83
   </td>
   <td>94.13
   </td>
   <td>100.31%
   </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-Quant-W-INT8-PerChannel-A-INT8-PerToken>
SGLANG_USE_MODELSCOPE=true python3 -m sglang.launch_server --model-path $MODEL_PATH \
  --tp-size 16 --mem-fraction-static 0.9 --speculative-algorithm EAGLE \
  --speculative-num-steps 2 --speculative-eagle-topk 1 --speculative-num-draft-tokens 3 \
  --quantization w8a8_int8 --trust-remote-code --max-running-requests 40 \
  --num-continuous-decode-steps 1 --dist-timeout 24000 --watchdog-timeout 24000 \
  --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 --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.
