Skip to content

Commit 91864b7

Browse files
fake0fanknlnguyen1802ywang96
authored
[CI/Build] Fix crash due to removed VLLM_USE_V1 attribute in EPD (#28521)
Signed-off-by: knlnguyen1802 <[email protected]> Co-authored-by: knlnguyen1802 <[email protected]> Co-authored-by: Roger Wang <[email protected]>
1 parent ac0bb2c commit 91864b7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

vllm/distributed/ec_transfer/ec_transfer_state.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
33
from typing import TYPE_CHECKING
44

5-
from vllm import envs
65
from vllm.distributed.ec_transfer.ec_connector.base import (
76
ECConnectorBase,
87
ECConnectorRole,
@@ -38,9 +37,6 @@ def ensure_ec_transfer_initialized(vllm_config: "VllmConfig") -> None:
3837
vllm_config.ec_transfer_config.is_ec_transfer_instance
3938
and _EC_CONNECTOR_AGENT is None
4039
):
41-
if envs.VLLM_USE_V1:
42-
_EC_CONNECTOR_AGENT = ECConnectorFactory.create_connector(
43-
config=vllm_config, role=ECConnectorRole.WORKER
44-
)
45-
else:
46-
raise ValueError("V0 is no longer supported")
40+
_EC_CONNECTOR_AGENT = ECConnectorFactory.create_connector(
41+
config=vllm_config, role=ECConnectorRole.WORKER
42+
)

0 commit comments

Comments
 (0)