Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Misc]: Segmentation Fault in vLLM API Server during Model Initialization (NCCL Error: Unhandled System Error) #9156

Open
1 task done
shreyasp-07 opened this issue Oct 8, 2024 · 1 comment
Labels

Comments

@shreyasp-07
Copy link

Anything you want to discuss about vllm.

I'm experiencing a segmentation fault while running the vLLM API server with Ray for distributed inference. The issue seems to be related to NCCL initialization, resulting in an "unhandled system error" during distributed execution, causing the process to fail with a segmentation fault (SIGSEGV).

Command I am running:
python -m vllm.entrypoints.openai.api_server --model meta-llama/Meta-Llama-3.1-70B-Instruct --trust-remote-code --device cuda --tensor-parallel-size 4 --gpu-memory-utilization 0.9 --swap-space 10 --dtype bfloat16 --api-key <REDACTED> --enforce-eager --pipeline-parallel-size 2 --max-model-len 110000 --max-seq-len-to-capture 1100 --disable-custom-all-reduce

Error Logs:
INFO vLLM API server version 0.6.0 INFO args: Namespace(...) INFO Started engine process with PID <REDACTED> INFO Connecting to existing Ray cluster at address: <REDACTED>... INFO vLLM is using nccl==2.20.5 ERROR NCCL error: unhandled system error (run with NCCL_DEBUG=INFO for details) Fatal Python error: Segmentation fault

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.
@DarkLight1337
Copy link
Member

Can you run collect_env.py to show your GPU setup? cc @youkaichao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants