Skip to content

Fix exit issue#1579

Draft
mengniwang95 wants to merge 1 commit into
aice/v1.21.0from
mengniwang95-patch-2
Draft

Fix exit issue#1579
mengniwang95 wants to merge 1 commit into
aice/v1.21.0from
mengniwang95-patch-2

Conversation

@mengniwang95
Copy link
Copy Markdown

@mengniwang95 mengniwang95 commented Jul 14, 2025

Purpose

Fix exit issue
Exception ignored in: <function LLMEngine.del at 0x7f672f8916c0>
Traceback (most recent call last):
File "/home/mewang/workspace/vllm-fork/vllm/engine/llm_engine.py", line 520, in del
File "/home/mewang/workspace/vllm-fork/vllm/executor/uniproc_executor.py", line 71, in shutdown File "/home/mewang/workspace/vllm-fork/vllm/worker/hpu_worker.py", line 496, in shutdown
File "/home/mewang/workspace/vllm-fork/vllm/worker/hpu_model_runner.py", line 2856, in shutdown_inc
File "/home/mewang/workspace/vllm-fork/vllm/worker/hpu_model_runner.py", line 941, in _is_quant_with_inc AttributeError: 'NoneType' object has no attribute 'getenv'

Test Plan

VLLM_SKIP_WARMUP=true PT_HPU_LAZY_MODE=1 python qwen3_reranker.py

Test Result

The program exits without any issue

@czhu15
Copy link
Copy Markdown

czhu15 commented Jul 14, 2025

is there any way to fix this issue in vllm instead of letting app do it explicitly? it is bad UX to let app do this.

@mengniwang95
Copy link
Copy Markdown
Author

is there any way to fix this issue in vllm instead of letting app do it explicitly? it is bad UX to let app do this.

you can cherry-pick this commit: c0667a8

Copy link
Copy Markdown

@michalkuligowski michalkuligowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Converting to draft since this PR was not update for quite time

@michalkuligowski michalkuligowski marked this pull request as draft October 2, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants