From f1e3f0e6d685082bdb313c20914099ac5ede5f14 Mon Sep 17 00:00:00 2001 From: Chaojun Zhang Date: Tue, 19 May 2026 14:14:59 +0800 Subject: [PATCH] [XPU] Use custom op collective behavior (#41354) Signed-off-by: Chaojun,Zhang Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Kunshang Ji --- vllm/platforms/xpu.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vllm/platforms/xpu.py b/vllm/platforms/xpu.py index bd9006f3f8..bc4ac24b82 100644 --- a/vllm/platforms/xpu.py +++ b/vllm/platforms/xpu.py @@ -409,3 +409,7 @@ class XPUPlatform(Platform): @classmethod def num_compute_units(cls, device_id: int = 0) -> int: return torch.xpu.get_device_properties(device_id).max_compute_units + + @classmethod + def use_custom_op_collectives(cls) -> bool: + return True