From ac04992278271c3df291799fa2d52d282c7adcf1 Mon Sep 17 00:00:00 2001 From: Guancheng Fu <110874468+gc-fu@users.noreply.github.com> Date: Fri, 6 Jun 2025 15:47:33 +0800 Subject: [PATCH] Update engine.py (#13209) --- 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 acce03c4..b0ecbab5 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"): +if os.getenv("VLLM_USE_V1") == 1: IPEXLLMAsyncLLMEngine = IPEXLLMAsyncV1Engine