Skip to content

Commit 3f6d407

Browse files
authored
Fix engine.py (#13215)
1 parent 5a629ae commit 3f6d407

File tree

1 file changed

+1
-1
lines changed
  • python/llm/src/ipex_llm/vllm/xpu/engine

1 file changed

+1
-1
lines changed

python/llm/src/ipex_llm/vllm/xpu/engine/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,5 +385,5 @@ def run_mp_engine(vllm_config: VllmConfig, usage_context: UsageContext,
385385
engine_alive.value = False
386386
raise e # noqa
387387

388-
if os.getenv("VLLM_USE_V1") == 1:
388+
if os.getenv("VLLM_USE_V1") == "1":
389389
IPEXLLMAsyncLLMEngine = IPEXLLMAsyncV1Engine

0 commit comments

Comments
 (0)