Skip to content

Commit 6580f87

Browse files
committed
fix(xpu): fix python format
Signed-off-by: dbyoung18 <yang5.yang@intel.com>
1 parent a3aca9e commit 6580f87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/utils/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1888,7 +1888,8 @@ def supports_dynamo() -> bool:
18881888

18891889
# Supports xccl with PyTorch versions >= 2.8.0 for XPU platform
18901890
def supports_xccl() -> bool:
1891-
return is_torch_equal_or_newer("2.8.0") and torch.distributed.is_xccl_available()
1891+
return is_torch_equal_or_newer(
1892+
"2.8.0") and torch.distributed.is_xccl_available()
18921893

18931894

18941895
# Some backends use pytorch version < 2.4.0 which doesn't

0 commit comments

Comments
 (0)