[Intel GPU] support ray as distributed executor backend for XPU. (#20659)

Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
Kunshang Ji
2025-07-09 15:36:58 +08:00
committed by GitHub
parent e760fcef22
commit b6e7e3d58f
2 changed files with 3 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ class RayDistributedExecutor(DistributedExecutorBase):
def _init_executor(self) -> None:
self.forward_dag: Optional[ray.dag.CompiledDAG] = None
if envs.VLLM_USE_V1 and not current_platform.is_xpu():
if envs.VLLM_USE_V1:
# V1 uses SPMD worker and compiled DAG
os.environ["VLLM_USE_RAY_SPMD_WORKER"] = "1"
os.environ["VLLM_USE_RAY_COMPILED_DAG"] = "1"