Downloads · 30 days
14K
51% of all-time downloads
amd/GLM-5.3-Quark-MXFP4-AttnFP8
GLM-5.3-Quark-MXFP4-AttnFP8 is a text generation model from amd. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
- Model Architecture: GlmMoeDsaForCausalLM - Input: Text - Output: Text - Supported Hardware Microarchitecture: AMD MI350/MI355 - ROCm: 7.1.1 - PyTorch: 2.10.0+rocm7.1.1.lw.gitd9556b05 - Transformers: 5.15.1 - Operati…
Downloads · 30 days
14K
51% of all-time downloads
All-time downloads
27.6K
Public
Parameters
384B
410 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors410 GB · 100%
How the weights are stored.
U8369B · 96%
From the Hugging Face model README
This model was built with GLM-5.3 model by applying AMD-Quark for MXFP4 quantization.
The model was quantized from zai-org/GLM-5.3 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.3 \
--output_dir amd/GLM-5.3-Quark-MXFP4 \
--quant_scheme mxfp4 \
--exclude_layers \
"*self_attn*" \
"*lm_head" \
"*embed_tokens" \
"*eh_proj" \
"*mlp.gate" \
--file2file_quantization \
--keep_excluded_layers_as_original_model_state
This model can be deployed efficiently using the vLLM backends.
The model was evaluated on GSM8K benchmarks.
The GSM8K results were obtained using the lm-evaluation-harness framework, based on the Docker image vllm/vllm-openai-rocm:v0.31.0.
pip install lm-eval[api]
export VLLM_ROCM_USE_AITER=1
export VLLM_ROCM_USE_AITER_FP8BMM=0
export VLLM_ROCM_USE_AITER_FP4BMM=0
lm_eval --model vllm \
--model_args "pretrained=amd/GLM-5.3-Quark-MXFP4,tensor_parallel_size=4,dtype=auto,quantization=quark,max_model_len=32768,trust_remote_code=True,max_num_seqs=32" \
--tasks gsm8k \
--batch_size auto
Modifications Copyright(c) 2026 Advanced Micro Devices, Inc. All rights reserved.