vllm - 💡(How to fix) Fix [Usage]: I encountered an error while deploying deepseek-ai/DeepSeek-OCR-2using vLLM. The logs show: [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#38797Fetched 2026-04-08 02:34:50
View on GitHub
Comments
2
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
commented ×2labeled ×1

Error Message

warnings.warn('resource_tracker: There appear to be %d '

Root Cause

(APIServer pid=726567) File "/root/ocr_test/lib/python3.11/site-packages/vllm/v1/engine/utils.py", line 1031, in wait_for_engine_startup (APIServer pid=726567) raise RuntimeError( (APIServer pid=726567) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {} /root/.pyenv/versions/3.11.7/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

RAW_BUFFERClick to expand / collapse

Your current environment

(APIServer pid=726567) File "/root/ocr_test/lib/python3.11/site-packages/vllm/v1/engine/utils.py", line 1031, in wait_for_engine_startup (APIServer pid=726567) raise RuntimeError( (APIServer pid=726567) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {} /root/.pyenv/versions/3.11.7/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

How would you like to use vllm

I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.

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 most likely fix involves addressing the engine core initialization failure by investigating the root cause indicated in the error message and ensuring proper integration of the specific model with vllm.

Guidance

  • Investigate the error message "Engine core initialization failed" and examine the lines above it for the root cause, as the error message suggests looking above for more information.
  • Verify that the specific model intended for inference is correctly integrated with vllm, potentially by consulting the vllm documentation or seeking guidance on model integration.
  • Check for any resource leaks, such as the mentioned semaphore objects, which could be contributing to the initialization failure.
  • Review the documentation page and chatbot resources for any FAQs related to model integration and engine startup issues.

Example

No specific code example can be provided without more details on the model integration or the exact nature of the engine core initialization failure.

Notes

The solution may depend on the specifics of the model and how it is being integrated with vllm, which are not fully detailed in the issue. Additionally, the presence of leaked semaphore objects suggests a potential issue with resource management that should be addressed.

Recommendation

Apply workaround: Given the information, it seems more practical to first attempt to workaround the issue by addressing the potential causes (e.g., model integration, resource leaks) rather than immediately seeking an upgrade, as the need for an upgrade is not clearly implied.

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