vllm - 💡(How to fix) Fix [Bug]: # vLLM v0.19.0 - WorkerProc initialization failed with Tensor Parallelism [2 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#39685Fetched 2026-04-14 05:38:07
View on GitHub
Comments
2
Participants
2
Timeline
3
Reactions
1
Timeline (top)
commented ×2labeled ×1

vLLM v0.19.0 fails to initialize when using Tensor Parallelism (TP > 1) with certain models. The error occurs during worker process initialization.

Error Message

(EngineCore pid=335) ERROR 04-11 22:28:52 [core.py:1108] Exception: WorkerProc initialization failed due to an exception in a background process. See stack trace for root cause. (EngineCore pid=335) Traceback (most recent call last): File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in self._target(*self._args, **self._kwargs) ... (APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

Root Cause

(EngineCore pid=335) ERROR 04-11 22:28:52 [core.py:1108] Exception: WorkerProc initialization failed due to an exception in a background process. See stack trace for root cause.
(EngineCore pid=335) Traceback (most recent call last):
  File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in self._target(*self._args, **self._kwargs)
  ...
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

Fix Action

Workaround

Use Pipeline Parallelism (PP) instead of Tensor Parallelism:

  • PP=3 works on 3 GPUs (ports 4, 5, 6)

Code Example

sudo docker run -d --name vllm-qwen3-coder-ream-v2 \
  --gpus=all -e CUDA_VISIBLE_DEVICES=4,5,6,7 \
  --runtime=nvidia -v /data:/data -p 8008:8000 --ipc=host \
  vllm/vllm-openai:latest \
  --model /data/models/Qwen3-Coder-Next-REAM-AWQ-4bit \
  --tensor-parallel-size 4 --max-model-len 200000 \
  --disable-custom-all-reduce --gpu-memory-utilization 0.85 \
  --dtype bfloat16 --kv-cache-dtype fp8 --host 0.0.0.0 --port 8000

---

(EngineCore pid=335) ERROR 04-11 22:28:52 [core.py:1108] Exception: WorkerProc initialization failed due to an exception in a background process. See stack trace for root cause.
(EngineCore pid=335) Traceback (most recent call last):
  File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in self._target(*self._args, **self._kwargs)
  ...
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}
RAW_BUFFERClick to expand / collapse

Your current environment

Description

vLLM v0.19.0 fails to initialize when using Tensor Parallelism (TP > 1) with certain models. The error occurs during worker process initialization.

Environment

  • vLLM Version: 0.19.0
  • Docker Image: vllm/vllm-openai:latest
  • GPU: 4x NVIDIA GPUs (tested with tensor-parallel-size=4)
  • Model: Qwen3-Coder-Next-REAM-AWQ-4bit (~80B parameters, AWQ quantized)

Command Used

sudo docker run -d --name vllm-qwen3-coder-ream-v2 \
  --gpus=all -e CUDA_VISIBLE_DEVICES=4,5,6,7 \
  --runtime=nvidia -v /data:/data -p 8008:8000 --ipc=host \
  vllm/vllm-openai:latest \
  --model /data/models/Qwen3-Coder-Next-REAM-AWQ-4bit \
  --tensor-parallel-size 4 --max-model-len 200000 \
  --disable-custom-all-reduce --gpu-memory-utilization 0.85 \
  --dtype bfloat16 --kv-cache-dtype fp8 --host 0.0.0.0 --port 8000

🐛 Describe the bug

Error Log

(EngineCore pid=335) ERROR 04-11 22:28:52 [core.py:1108] Exception: WorkerProc initialization failed due to an exception in a background process. See stack trace for root cause.
(EngineCore pid=335) Traceback (most recent call last):
  File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in self._target(*self._args, **self._kwargs)
  ...
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}

Expected Behavior

The model should load successfully with Tensor Parallelism (TP=4) spreading the 80B model across 4 GPUs.

Workaround

Use Pipeline Parallelism (PP) instead of Tensor Parallelism:

  • PP=3 works on 3 GPUs (ports 4, 5, 6)

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

TL;DR

The issue can be potentially resolved by adjusting the configuration to use Pipeline Parallelism (PP) instead of Tensor Parallelism (TP) or investigating the compatibility of the model with TP.

Guidance

  • Verify that the model is compatible with Tensor Parallelism (TP) by checking the documentation or testing with a smaller model.
  • Try reducing the tensor-parallel-size to a smaller value (e.g., 2) to see if the issue persists.
  • Use Pipeline Parallelism (PP) as a workaround, as mentioned in the issue, by setting --pipeline-parallel-size 3 and adjusting the GPU allocation accordingly.
  • Check the GPU memory utilization and adjust the --gpu-memory-utilization parameter to ensure it's not causing issues with the model loading.

Example

No code snippet is provided as the issue seems to be related to configuration and model compatibility rather than code.

Notes

The issue might be specific to the Qwen3-Coder-Next-REAM-AWQ-4bit model or the vLLM version 0.19.0. Further investigation into the model's compatibility with Tensor Parallelism or adjusting the configuration might be necessary.

Recommendation

Apply the workaround by using Pipeline Parallelism (PP) instead of Tensor Parallelism (TP), as it has been reported to work for the user. This allows the model to load successfully, albeit with a different parallelism strategy.

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