Model Details
This model is an MXFP4 (mixed MXFP4 / MXFP8 linear) model of zai-org/GLM-5.1 generated by intel/auto-round using RTN. Please follow the license of the original model.
- Quantized (MXFP4): linear layers and experts
- Kept in BF16: router / embeddings / lm_head
How to Use
Environment
pip install vllm==0.29.0
vLLM Usage
vllm serve intel-ai/GLM-5.1-MXFP4-Mixed-CT-AutoRound
Evaluation
| Benchmark | Base Model | MXFP4 | Recovery |
|---|---|---|---|
| GSM8K | 96.82 | 96.59 | 99.76% |
| MMLU | 86.62 | 85.43 | 98.63% |
| PIQA | 85.04 | 85.09 | 100.06% |
| HellaSwag | 74.06 | 73.37 | 99.07% |
| Average | 85.64 | 85.12 | 99.40% |
Generate the Model
auto-round \
--model_name zai-org/GLM-5.1 \
--model_free \
--scheme MXFP8 \
--ignore_layers "lm_head,eh_proj,shared_head,enorm,hnorm,indexer,mlp.gate." \
--layer_config "{mlp.experts:{bits:4,data_type:mx_fp}}" \
--format llm_compressor \
--output_dir GLM-5.1-MXFP4-Mixed-CT-AutoRound
Ethical Considerations and Limitations
The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs. Therefore, before deploying any applications of the model, developers should perform safety testing.
Caveats and Recommendations
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Here are a couple of useful links to learn more about Intel's AI software:
Disclaimer
The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.
Cite
@article{cheng2023optimize,
title={Optimize weight rounding via signed gradient descent for the quantization of llms},
author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi},
journal={arXiv preprint arXiv:2309.05516},
year={2023}
}
Signed-off-by: Lv, Kaokao kaokao.lv@intel.com