Before executing the quantization script below, the original FP8 model must first be dequantized to BFloat16.
You can either perform the dequantization manually using this
conversion script
, or use the pre-converted BFloat16 model available at
unsloth/DeepSeek-R1-0528-BF16
.
This model can be deployed efficiently using the
SGLang
and
vLLM
backends.
Evaluation
The model was evaluated on AIME24, GPQA Diamond, and MATH-500 benchmarks using the
lighteval
framework. Each benchmark was run 10 times with different random seeds for reliable performance estimation.
Accuracy
Benchmark
DeepSeek-R1-0528
DeepSeek-R1-0528-MXFP4-Preview(this model)
Recovery
AIME24
88.00
85.00
96.59%
GPQA Diamond
79.90
79.34
99.31%
MATH-500
97.06
97.84
100.80%
Reproduction
The results of AIME24, MATH-500, and GPQA Diamond, were obtained using forked
lighteval
and vLLM docker (emulation qdq)
rocm/vllm-private:pytorch-vllm-gfx950-mxfp4-mxfp6-v3
.
# Set docker env
export VLLM_QUARK_F4F6_OFFLINE_DEQUANT_TMPENVVAR=1
# Set model args
OUTPUT_DIR="results/DeepSeek-R1-0528-MXFP4-Preview-Seed"
LOG="logs/deepseek_0528_maxfp4.log"
# Evaluating 10 rounds
for i in $(seq 1 10); do
# seed in [0, 2**30 - 1]
SEED=$(shuf -i 0-1073741823 -n 1)
MODEL_ARGS="model_name=amd/DeepSeek-R1-0528-MXFP4-Preview,dtype=bfloat16,tensor_parallel_size=8,max_model_length=71536,max_num_batched_tokens=32768,gpu_memory_utilization=0.85,generation_parameters={max_new_tokens:65536,temperature:0.6,top_p:0.95,seed:$SEED}"
lighteval vllm $MODEL_ARGS "custom|aime24_single|0|0,custom|math_500_single|0|0,custom|gpqa:diamond_single|0|0" \
--use-chat-template \
--output-dir "$OUTPUT_DIR/seed_$SEED" \
2>&1 | tee -a "$LOG"
License
Modifications Copyright(c) 2025 Advanced Micro Devices, Inc. All rights reserved.
Runs of amd DeepSeek-R1-0528-MXFP4 on huggingface.co
5.7K
Total runs
-553
24-hour runs
-1.1K
3-day runs
-2.3K
7-day runs
-6.8K
30-day runs
More Information About DeepSeek-R1-0528-MXFP4 huggingface.co Model
DeepSeek-R1-0528-MXFP4 huggingface.co is an AI model on huggingface.co that provides DeepSeek-R1-0528-MXFP4's model effect (), which can be used instantly with this amd DeepSeek-R1-0528-MXFP4 model. huggingface.co supports a free trial of the DeepSeek-R1-0528-MXFP4 model, and also provides paid use of the DeepSeek-R1-0528-MXFP4. Support call DeepSeek-R1-0528-MXFP4 model through api, including Node.js, Python, http.
DeepSeek-R1-0528-MXFP4 huggingface.co is an online trial and call api platform, which integrates DeepSeek-R1-0528-MXFP4's modeling effects, including api services, and provides a free online trial of DeepSeek-R1-0528-MXFP4, you can try DeepSeek-R1-0528-MXFP4 online for free by clicking the link below.
amd DeepSeek-R1-0528-MXFP4 online free url in huggingface.co:
DeepSeek-R1-0528-MXFP4 is an open source model from GitHub that offers a free installation service, and any user can find DeepSeek-R1-0528-MXFP4 on GitHub to install. At the same time, huggingface.co provides the effect of DeepSeek-R1-0528-MXFP4 install, users can directly use DeepSeek-R1-0528-MXFP4 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
DeepSeek-R1-0528-MXFP4 install url in huggingface.co: