vllm - 💡(How to fix) Fix [Bug]: Minimax-M2.5 on version 0.17.0 results in an keyerror when the pipeline parallelism (PP) is greater than or equal to 2 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#37946Fetched 2026-04-08 01:22:28
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
1
Author
Participants
Timeline (top)
commented ×1labeled ×1
RAW_BUFFERClick to expand / collapse

Your current environment

Four servers, each equipped with two 80GB A800 GPUs, running vLLM version 0.17.0. The image startup script is as follows:

`# 1 docker run -itd --entrypoint /bin/bash --network host --ipc=host
--name ray_vllm_node --shm-size 10.24g --gpus all
-v /nfsai/ai:/mllm_models
-e GLOO_SOCKET_IFNAME=bond0 -e NCCL_SOCKET_IFNAME=bond0
-e TP_SOCKET_IFNAME=bond0 -e NCCL_DEBUG=TRACE
-e VLLM_LOG_LEVEL=DEBUG
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.17.0

2、header

ray start --head --port=6379 --dashboard-host='0.0.0.0' --disable-usage-stats

3、worker

ray start --address=headerip:6379`

vllm server script is as follows: nohup python3 -m vllm.entrypoints.openai.api_server \ --model /mllm_models/MiniMax/MiniMax-M2.5 \ --served-model-name MiniMax-M2.5 \ --tensor-parallel-size 2 \ --pipeline-parallel-size 4 \ --enable-expert-parallel \ --enable-auto-tool-choice \ --max-model-len 32000 \ --max_num_seqs 32 \ --enable-chunked-prefill \ --enable-prefix-caching \ --trust-remote-code \ --host 0.0.0.0 \ --port 8001 \ --dtype bfloat16 \ --quantization fp8 \ --gpu-memory-utilization 0.87 \ --tool-call-parser minimax_m2 \ --chat-template /mllm_models/MiniMax/MiniMax-M2.5/chat_template.jinja \ --reasoning-parser minimax_m2_append_think \ --distributed-executor-backend ray > ./minimax-m2.5-20260316.log 2>&1 &

🐛 Describe the bug

Image

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

extent analysis

Fix Plan

The fix involves adjusting the gpu-memory-utilization parameter in the vLLM server script to prevent out-of-memory errors.

  • Update the gpu-memory-utilization value to a lower setting, such as 0.5, to reduce memory usage:
--gpu-memory-utilization 0.5
  • Alternatively, consider increasing the shm-size value in the Docker run command to allocate more shared memory:
--shm-size 20.48g
  • Restart the vLLM server and Docker container after applying the changes.

Verification

To verify the fix, monitor the GPU memory usage and check for any out-of-memory errors in the logs. You can use tools like nvidia-smi to monitor GPU memory usage.

Extra Tips

  • Regularly review and adjust the gpu-memory-utilization value based on the specific workload and GPU resources.
  • Consider implementing a monitoring system to detect and alert on potential out-of-memory issues.
  • Refer to the vLLM documentation for more information on optimizing GPU memory usage.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - 💡(How to fix) Fix [Bug]: Minimax-M2.5 on version 0.17.0 results in an keyerror when the pipeline parallelism (PP) is greater than or equal to 2 [1 comments, 2 participants]