Fix engine.py (#13215)

This commit is contained in:
Guancheng Fu 2025-06-09 09:03:17 +08:00 committed by GitHub
parent 5a629ae470
commit 3f6d407be4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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