[Intel GPU] Ray Compiled Graph avoid NCCL for Intel GPU (#21338)

Signed-off-by: ratnampa <ratnam.parikh@intel.com>
This commit is contained in:
Ratnam Parikh 2025-07-21 21:48:27 -07:00 committed by GitHub
parent 5e70dcd6e6
commit 90f1e55421
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,8 +67,8 @@ class RayDistributedExecutor(DistributedExecutorBase):
os.environ["VLLM_USE_RAY_SPMD_WORKER"] = "1"
os.environ["VLLM_USE_RAY_COMPILED_DAG"] = "1"
# For TPU, avoid compiling NVIDIA's NCCL
if current_platform.is_tpu():
# For TPU or XPU, avoid compiling NVIDIA's NCCL
if current_platform.is_tpu() or current_platform.is_xpu():
os.environ["VLLM_USE_RAY_COMPILED_DAG_CHANNEL_TYPE"] = "shm"
# If the env var is set, it uses the Ray's compiled DAG API