Model Details
This model is an MXFP4 (mixed MXFP4 experts / MXFP8 linear) model of deepseek-ai/DeepSeek-V4-Pro generated by intel/auto-round using RTN. Please follow the license of the original model.
- Quantized (MXFP4): routed experts and linear layers
- Kept in BF16: router / embeddings / lm_head
How to Use
Environment
pip install vllm==0.29.0
uv pip install git+https://github.com/vllm-project/vllm.git@1b6e277ac010fb3361369162c42d39b06d612e24
vLLM Usage
vllm serve intel-ai/DeepSeek-V4-Pro-MXFP4-Mixed-CT-AutoRound
Evaluation
| Benchmark | Base Model | MXFP4 | Recovery |
|---|---|---|---|
| aime26 | 48.37 | 49.03 | 101.36% |
| gpqa_diamond | 73.61 | 73.64 | 100.04% |
| GSM8K | 96.44 | 96.49 | 100.05% |
| MMLU | 91.40 | 91.25 | 99.84% |
| PIQA | 93.48 | 92.67 | 99.13% |
| HellaSwag | 89.08 | 88.82 | 99.71% |
| Average | 82.06 | 81.98 | 99.90% |
Generate the Model
uv pip install git+https://github.com/intel/auto-round.git@50357f98da20222265a3aeacbee15470e269ddf6
auto-round \
--model_name deepseek-ai/DeepSeek-V4-Pro \
--model_free \
--scheme MXFP8 \
--layer_config "{mlp.experts:{bits:4,data_type:mx_fp}}" \
--format llm_compressor \
--output_dir DeepSeek-V4-Pro-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: He, Xin xin3.he@intel.com