amd / GLM-5.2-MXFP4

huggingface.co
Total runs: 47.0K
24-hour runs: 149
7-day runs: -8.4K
30-day runs: -75.1K
Model's Last Updated: June 19 2026

Introduction of GLM-5.2-MXFP4

Model Details of GLM-5.2-MXFP4

Model Overview

  • Model Architecture: GLM-5.2
    • Input: Text
    • Output: Text
  • Supported Hardware Microarchitecture: AMD MI350/MI355
  • ROCm: 7.0.0
  • PyTorch: 2.9.0
  • Transformers: 5.8.1
  • Operating System(s): Linux
  • Inference Engine: SGLang / vLLM
  • Model Optimizer: AMD-Quark (V0.11)
    • Weight quantization: MOE-only (shared experts quantized), OCP MXFP4, Static
    • Activation quantization: MOE-only, OCP MXFP4, Dynamic

This model was built with GLM-5.2 model by applying AMD-Quark for MXFP4 quantization.

Model Quantization

The model was quantized from zai-org/GLM-5.2 using AMD-Quark . The weights and activations are quantized to MXFP4.

Quantization scripts:

cd Quark/examples/torch/language_modeling/llm_ptq/
  python quantize_quark.py \
      --model_dir zai-org/GLM-5.2 \
      --output_dir GLM-5.2-MXFP4 \
      --quant_scheme mxfp4 \
      --exclude_layers "*self_attn*" "*mlp.gate" "*lm_head" \
          "*mlp.gate_proj" "*mlp.up_proj" "*mlp.down_proj" \
          "*layers.78.*" \  # Exclude the MTP layer (layer 78)
      --file2file_quantization

Deployment

Use with SGLang/vLLM

This model can be deployed efficiently using the SGLang or vLLM backends.

Evaluation

The model was evaluated on GSM8K benchmarks.

Accuracy
Benchmark GLM-5.2 GLM-5.2-MXFP4(this model) Recovery
GSM8K (flexible-extract) 0.9409 0.9393 99.8%
Reproduction

The GSM8K results were obtained using the lm-evaluation-harness framework, based on the Docker image lmsysorg/sglang:v0.5.13.post1-rocm700-mi35x , with SGLang pre-installed inside the image and lm-eval compiled and installed from source.

lm_eval --model sglang \
    --model_args pretrained=amd/GLM-5.2-MXFP4,tp_size=4 \
    --tasks gsm8k \
    --batch_size auto

The Docker image rocm/vllm-dev:nightly_main_20260616 with vLLM pre-installed can also be used for reproducing using vLLM backend.

License

Modifications Copyright(c) 2026 Advanced Micro Devices, Inc. All rights reserved.

Runs of amd GLM-5.2-MXFP4 on huggingface.co

47.0K
Total runs
149
24-hour runs
-114
3-day runs
-8.4K
7-day runs
-75.1K
30-day runs

More Information About GLM-5.2-MXFP4 huggingface.co Model

More GLM-5.2-MXFP4 license Visit here:

https://choosealicense.com/licenses/mit

GLM-5.2-MXFP4 huggingface.co

GLM-5.2-MXFP4 huggingface.co is an AI model on huggingface.co that provides GLM-5.2-MXFP4's model effect (), which can be used instantly with this amd GLM-5.2-MXFP4 model. huggingface.co supports a free trial of the GLM-5.2-MXFP4 model, and also provides paid use of the GLM-5.2-MXFP4. Support call GLM-5.2-MXFP4 model through api, including Node.js, Python, http.

GLM-5.2-MXFP4 huggingface.co Url

https://huggingface.co/amd/GLM-5.2-MXFP4

amd GLM-5.2-MXFP4 online free

GLM-5.2-MXFP4 huggingface.co is an online trial and call api platform, which integrates GLM-5.2-MXFP4's modeling effects, including api services, and provides a free online trial of GLM-5.2-MXFP4, you can try GLM-5.2-MXFP4 online for free by clicking the link below.

amd GLM-5.2-MXFP4 online free url in huggingface.co:

https://huggingface.co/amd/GLM-5.2-MXFP4

GLM-5.2-MXFP4 install

GLM-5.2-MXFP4 is an open source model from GitHub that offers a free installation service, and any user can find GLM-5.2-MXFP4 on GitHub to install. At the same time, huggingface.co provides the effect of GLM-5.2-MXFP4 install, users can directly use GLM-5.2-MXFP4 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

GLM-5.2-MXFP4 install url in huggingface.co:

https://huggingface.co/amd/GLM-5.2-MXFP4

Url of GLM-5.2-MXFP4

GLM-5.2-MXFP4 huggingface.co Url

Provider of GLM-5.2-MXFP4 huggingface.co

amd
ORGANIZATIONS

Other API from amd

huggingface.co

Total runs: 280.1K
Run Growth: 173.0K
Growth Rate: 61.74%
Updated:April 14 2026
huggingface.co

Total runs: 85.9K
Run Growth: -39.8K
Growth Rate: -46.28%
Updated:July 17 2026
huggingface.co

Total runs: 66.4K
Run Growth: 5.3K
Growth Rate: 7.94%
Updated:July 01 2026
huggingface.co

Total runs: 8.8K
Run Growth: -2.7K
Growth Rate: -30.34%
Updated:August 12 2025
huggingface.co

Total runs: 7.5K
Run Growth: -4.6K
Growth Rate: -62.10%
Updated:October 09 2024
huggingface.co

Total runs: 6.8K
Run Growth: -17.9K
Growth Rate: -262.65%
Updated:July 27 2026
huggingface.co

Total runs: 2.1K
Run Growth: -10
Growth Rate: -0.50%
Updated:June 19 2026
huggingface.co

Total runs: 1.3K
Run Growth: 142
Growth Rate: 11.47%
Updated:May 27 2026
huggingface.co

Total runs: 1.2K
Run Growth: 766
Growth Rate: 65.86%
Updated:January 22 2026
huggingface.co

Total runs: 1.1K
Run Growth: -5.1K
Growth Rate: -450.49%
Updated:June 19 2026
huggingface.co

Total runs: 1.0K
Run Growth: 1.0K
Growth Rate: 99.23%
Updated:June 26 2025
huggingface.co

Total runs: 861
Run Growth: -380
Growth Rate: -44.13%
Updated:June 19 2026
huggingface.co

Total runs: 753
Run Growth: 463
Growth Rate: 61.49%
Updated:November 03 2025
huggingface.co

Total runs: 721
Run Growth: 447
Growth Rate: 62.00%
Updated:November 15 2025