[Ray] Enable RayExecutorV2 by default (#41421)
Signed-off-by: Jeffrey Wang <jeffreywang@anyscale.com>
This commit is contained in:
+1
-2
@@ -782,9 +782,8 @@ environment_variables: dict[str, Callable[[], Any]] = {
|
|||||||
),
|
),
|
||||||
# When True and distributed_executor_backend="ray", use RayExecutorV2
|
# When True and distributed_executor_backend="ray", use RayExecutorV2
|
||||||
# (MQ-based) instead of RayDistributedExecutor (compiled-graph backend).
|
# (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(
|
"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.
|
# Use dedicated multiprocess context for workers.
|
||||||
# Both spawn and fork work
|
# Both spawn and fork work
|
||||||
|
|||||||
Reference in New Issue
Block a user