I am trying to run MiniMax-M2.5 on H200, and I have built a docker with vLLM 0.16.0 installed. How can I run MiniMax-M2.5 for best performance?
For best performance running MiniMax-M2.5 on H200 GPUs with vLLM, use tensor parallelism (TP) and expert parallelism (EP). The recommended config for 4x H200 is: --tensor-parallel-size 4 --enable-expert-parallel --tool-call-parser minimax_m2 --reasoning-parser minimax_m2 --enable-auto-tool-choice --compilation-config '{"mode":3,"pass_config":{"fuse_minimax_qk_norm":true}}' --trust-remote-code. Use the official vLLM docker image and mount your Hugging Face cache for faster startup. Example Docker command:
docker run --gpus all \
-p 8000:8000 \
--ipc=host \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:minimax27 MiniMaxAI/MiniMax-M2.5 \
--tensor-parallel-size 4 \
--enable-expert-parallel \
--tool-call-parser minimax_m2 \
--reasoning-parser minimax_m2 \
--enable-auto-tool-choice \
--compilation-config '{"mode":3,"pass_config":{"fuse_minimax_qk_norm":true}}' \
--trust-remote-code
According to the MiniMax-M2 Usage Guide, this setup is optimized for H100/H200 and ensures high throughput and low latency.
Would you like more detail on tuning batch size, context length, or advanced parallelism?
Sources:
- MiniMax-M2 Series Usage Guide - vLLM Recipes
- MiniMax-M2 Series Usage Guide - vLLM Recipes (performance configs)
Hint: Mention @RunLLM in the post for followups.