From 3f6d407be400bdf2bda0850ef6564e5d5a46cb19 Mon Sep 17 00:00:00 2001 From: Guancheng Fu <110874468+gc-fu@users.noreply.github.com> Date: Mon, 9 Jun 2025 09:03:17 +0800 Subject: [PATCH] Fix engine.py (#13215) --- python/llm/src/ipex_llm/vllm/xpu/engine/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/llm/src/ipex_llm/vllm/xpu/engine/engine.py b/python/llm/src/ipex_llm/vllm/xpu/engine/engine.py index b0ecbab5..68236ae2 100644 --- a/python/llm/src/ipex_llm/vllm/xpu/engine/engine.py +++ b/python/llm/src/ipex_llm/vllm/xpu/engine/engine.py @@ -385,5 +385,5 @@ def run_mp_engine(vllm_config: VllmConfig, usage_context: UsageContext, engine_alive.value = False raise e # noqa -if os.getenv("VLLM_USE_V1") == 1: +if os.getenv("VLLM_USE_V1") == "1": IPEXLLMAsyncLLMEngine = IPEXLLMAsyncV1Engine