Excellent model on DGX Spark

#1
by bkmtech - opened

This is running very well on a single DGX Spark. Great model, thanks for the NVFP4 version. Quality responses, fairly quick, does well with tooling. It is working well in Opencode.

My settings (if you see any improvements let me know!):
docker run -d
--name minimax-m2.5-reap-nvfp4
--gpus all
--ipc=host
--ulimit memlock=-1
--ulimit stack=67108864
--network host
-v /home/username/Documents/models/MiniMax-M2.5-REAP-172B-NVFP4:/models/MiniMax-M2.5-REAP-172B-NVFP4
-e HF_TOKEN="hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
-e VLLM_NVFP4_GEMM_BACKEND=marlin
-e VLLM_TEST_FORCE_FP8_MARLIN=1
-e VLLM_USE_FLASHINFER_MOE_FP4=0
-e VLLM_MARLIN_USE_ATOMIC_ADD=1
-e MODEL=/models/MiniMax-M2.5-REAP-172B-NVFP4
-e PORT=8000
-e MAX_MODEL_LEN=65536
-e GPU_MEMORY_UTIL=0.93
-e VLLM_EXTRA_ARGS="--trust-remote-code --kv-cache-dtype fp8 --attention-backend flashinfer --enable-prefix-caching --enable-auto-tool-choice --tool-call-parser minimax_m2 --reasoning-parser minimax_m2_append_think --served-model-name MiniMax-M2.5-REAP-172B-NVFP4"
a

Glad you like it. Thanks for sharing your settings!

Credit must go to https://huggingface.co/scottgl though, for helping me identify how to quantize it, specifically for GB10 hardware.
He has a Qwen3.5 model you might want to check out: https://huggingface.co/scottgl/Qwen3.5-122B-A10B-MTP-NVFP4

Testing 128k context and it is working well! I'm impressed. Using Visual Studio Code and Kilo Code, the model is doing very well at building a greenfield app.

-e MAX_MODEL_LEN=131072

MiniMax 2.7 is out, can't wait to see what you do with it

Glad you like it. Thanks for sharing your settings!

Credit must go to https://huggingface.co/scottgl though, for helping me identify how to quantize it, specifically for GB10 hardware.
He has a Qwen3.5 model you might want to check out: https://huggingface.co/scottgl/Qwen3.5-122B-A10B-MTP-NVFP4

The repo owner of https://huggingface.co/Sehyo/Qwen3.5-122B-A10B-NVFP4 added the MTP weights. NVFP4 quantized MTP has a lower acceptance rate, so I would recommend either quantizing weights to FP8, or performing post-quantization at runtime. I create a fork for GB10, where I'm getting about 43-45 TPS with Qwen3.5 122B on one spark: https://github.com/scottgl9/sglang-spark-gb10-optimizations. I'm running in a venv without a container, but if anyone is interested, I can consider releasing a containerized version. I added a script sglang.sh, which I found to be the optimal configurations for various models I've tried.

Sign up or log in to comment