[V0 deprecation] Remove VLLM_USE_V1 usage in platform and v1 module (#27798)

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
wangxiyuan
2025-11-01 10:17:45 +00:00
committed by GitHub
co-authored by Harry Mellor
parent 799ce45cc1
commit 30a14b034f
8 changed files with 128 additions and 204 deletions
+1 -8
View File
@@ -467,14 +467,7 @@ class Platform:
"""
Whether to use allgather in LogitsProcessor to gather the logits.
"""
import vllm.envs as envs
from vllm.config import get_current_vllm_config
parallel_config = get_current_vllm_config().parallel_config
return (
envs.VLLM_USE_V1
or parallel_config.distributed_executor_backend == "external_launcher"
)
return True
@classmethod
def use_custom_allreduce(cls) -> bool: