From 13b3c44265d29981dc913c42d78ea12922d43e1b Mon Sep 17 00:00:00 2001 From: Nick Hill Date: Sat, 17 Oct 2026 14:52:39 -0700 Subject: [PATCH] [Core] Remove the obsolete VLLM_USE_RAY_V2_EXECUTOR_BACKEND env var RayExecutorV2 is now the only Ray executor following #61712 and #61713, so this flag is ignored. Remove it. Co-Authored-By: Claude Opus 5.5 (1M context) Signed-off-by: Nick Hill --- vllm/envs.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vllm/envs.py b/vllm/envs.py index 0492c5a59d94..f11d4faa8d90 100755 --- a/vllm/envs.py +++ b/vllm/envs.py @@ -169,7 +169,6 @@ VLLM_SERVER_DEV_MODE: bool = False VLLM_V1_OUTPUT_PROC_CHUNK_SIZE: int = 128 VLLM_MLA_DISABLE: bool = False - VLLM_USE_RAY_V2_EXECUTOR_BACKEND: bool = True VLLM_RAY_PER_WORKER_GPUS: float = 1.0 VLLM_RAY_BUNDLE_INDICES: str = "" VLLM_CUDART_SO_PATH: str | None = None @@ -1480,12 +1479,6 @@ def _resolve_rust_cli_path() -> str | None: # which indices are used for the Ray bundle, for every worker. # Format: comma-separated list of integers, e.g. "0,1,2,3" "VLLM_RAY_BUNDLE_INDICES": lambda: os.getenv("VLLM_RAY_BUNDLE_INDICES", ""), - # Deprecated and ignored: RayExecutorV2 is the only Ray executor. Kept so - # out-of-tree platforms that still read it keep working; will be removed - # in v0.34. - "VLLM_USE_RAY_V2_EXECUTOR_BACKEND": lambda: bool( - int(os.getenv("VLLM_USE_RAY_V2_EXECUTOR_BACKEND", "1")) - ), # In some system, find_loaded_library() may not work. So we allow users to # specify the path through environment variable VLLM_CUDART_SO_PATH. "VLLM_CUDART_SO_PATH": lambda: os.getenv("VLLM_CUDART_SO_PATH", None),