[Ray] Enable RayExecutorV2 by default (#41421)

Signed-off-by: Jeffrey Wang <jeffreywang@anyscale.com>
This commit is contained in:
Jeffrey Wang
2026-05-05 04:27:34 +00:00
committed by GitHub
parent 420b0a5c95
commit f04fd1677b
+1 -2
View File
@@ -782,9 +782,8 @@ environment_variables: dict[str, Callable[[], Any]] = {
),
# When True and distributed_executor_backend="ray", use RayExecutorV2
# (MQ-based) instead of RayDistributedExecutor (compiled-graph backend).
# TODO (jeffreywang): Enabled by default in vLLM 0.20.0.
"VLLM_USE_RAY_V2_EXECUTOR_BACKEND": lambda: bool(
int(os.getenv("VLLM_USE_RAY_V2_EXECUTOR_BACKEND", "0"))
int(os.getenv("VLLM_USE_RAY_V2_EXECUTOR_BACKEND", "1"))
),
# Use dedicated multiprocess context for workers.
# Both spawn and fork work