From 35514b682ac737505209eca21a26df86293ed5fb Mon Sep 17 00:00:00 2001 From: Ratnam Parikh <114774508+ratnampa@users.noreply.github.com> Date: Thu, 10 Jul 2025 20:39:52 -0700 Subject: [PATCH] [XPU] XCCL support enabled in torch 2.8.0.dev nightly builds (#20705) Signed-off-by: ratnampa --- vllm/utils/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm/utils/__init__.py b/vllm/utils/__init__.py index cf7320a19e4d9..48346c7d6e53f 100644 --- a/vllm/utils/__init__.py +++ b/vllm/utils/__init__.py @@ -2085,10 +2085,10 @@ def supports_dynamo() -> bool: return base_torch_version >= Version("2.4.0") -# Supports xccl with PyTorch versions >= 2.8.0 for XPU platform +# Supports xccl with PyTorch versions >= 2.8.0.dev for XPU platform def supports_xccl() -> bool: return is_torch_equal_or_newer( - "2.8.0") and torch.distributed.is_xccl_available() + "2.8.0.dev") and torch.distributed.is_xccl_available() # Some backends use pytorch version < 2.4.0 which doesn't