From 91864b79b36e5a7799f90c1c350e663d484bcfee Mon Sep 17 00:00:00 2001 From: Chenguang Zheng <645327136@qq.com> Date: Wed, 12 Nov 2025 15:09:33 +0800 Subject: [PATCH] [CI/Build] Fix crash due to removed VLLM_USE_V1 attribute in EPD (#28521) Signed-off-by: knlnguyen1802 Co-authored-by: knlnguyen1802 Co-authored-by: Roger Wang --- vllm/distributed/ec_transfer/ec_transfer_state.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/vllm/distributed/ec_transfer/ec_transfer_state.py b/vllm/distributed/ec_transfer/ec_transfer_state.py index 95f516129e0c..ef3c978b36a3 100644 --- a/vllm/distributed/ec_transfer/ec_transfer_state.py +++ b/vllm/distributed/ec_transfer/ec_transfer_state.py @@ -2,7 +2,6 @@ # SPDX-FileCopyrightText: Copyright contributors to the vLLM project from typing import TYPE_CHECKING -from vllm import envs from vllm.distributed.ec_transfer.ec_connector.base import ( ECConnectorBase, ECConnectorRole, @@ -38,9 +37,6 @@ def ensure_ec_transfer_initialized(vllm_config: "VllmConfig") -> None: vllm_config.ec_transfer_config.is_ec_transfer_instance and _EC_CONNECTOR_AGENT is None ): - if envs.VLLM_USE_V1: - _EC_CONNECTOR_AGENT = ECConnectorFactory.create_connector( - config=vllm_config, role=ECConnectorRole.WORKER - ) - else: - raise ValueError("V0 is no longer supported") + _EC_CONNECTOR_AGENT = ECConnectorFactory.create_connector( + config=vllm_config, role=ECConnectorRole.WORKER + )