NVFP4 quantization of
cerebras/MiniMax-M2.5-REAP-172B-A10B for NVIDIA DGX Spark (GB10).
The base model is a
Cerebras REAP (Router-weighted Expert Activation Pruning) variant of
MiniMaxAI/MiniMax-M2.5. REAP uniformly prunes experts from 256 → 192, reducing total parameters from 230B to 172B while maintaining near-identical performance.
Effective throughput with a large system prompt (~23K tokens): ~21 tok/s.
This is the setup I used for running and benchmarking it — one DGX Spark, nothing else.
Docker image: avarok/dgx-vllm-nvfp4-kernel:v23 (vLLM 0.16.0-rc2, CUDA 13.0, SM 12.1)
1huggingface-cli download saricles/MiniMax-M2.5-REAP-172B-A10B-NVFP4-GB10 \
2 --local-dir /opt/huggingface/models/MiniMax-M2.5-REAP-172B-NVFP4
1docker run -d --name minimax --gpus all --ipc=host \
2 -v /opt/huggingface/models/MiniMax-M2.5-REAP-172B-NVFP4:/models/MiniMax-M2.5-REAP-172B-NVFP4 \
3 -p 8000:8000 \
4 -e VLLM_NVFP4_GEMM_BACKEND=marlin \
5 -e VLLM_TEST_FORCE_FP8_MARLIN=1 \
6 -e VLLM_USE_FLASHINFER_MOE_FP4=0 \
7 -e VLLM_MARLIN_USE_ATOMIC_ADD=1 \
8 -e MODEL=/models/MiniMax-M2.5-REAP-172B-NVFP4 \
9 -e PORT=8000 \
10 -e MAX_MODEL_LEN=65536 \
11 -e GPU_MEMORY_UTIL=0.93 \
12 -e "VLLM_EXTRA_ARGS=--trust-remote-code --kv-cache-dtype fp8 --attention-backend flashinfer --enable-auto-tool-choice --tool-call-parser minimax_m2 --reasoning-parser minimax_m2_append_think" \
13 avarok/dgx-vllm-nvfp4-kernel:v23
Model takes ~3–4 minutes to load. Verify it's ready:
1curl http://localhost:8000/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "MiniMax-M2.5-REAP-172B-NVFP4",
5 "messages": [{"role": "user", "content": "Hello!"}],
6 "temperature": 1.0,
7 "top_p": 0.95,
8 "top_k": 40,
9 "min_p": 0.01,
10 "max_tokens": 512
11 }'
1{
2 "temperature": 1.0,
3 "top_p": 0.95,
4 "top_k": 40,
5 "min_p": 0.01
6}