@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 061da6bcf7
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 8, 22:45 UTC

[XPU] remove common path warning log (#33769)

Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>

Kunshang Ji committed Feb 4, 2026 at 16:40 UTC 061da6bcf7d369cc2fb55a56b8bdc91fd9bc96d5
2 files changed +8 -6
vllm/platforms/__init__.py
-5
@@ -140,11 +140,6 @@ def xpu_platform_plugin() -> str | None:
140
141 XPUPlatform.dist_backend = dist_backend
142 logger.debug("Confirmed %s backend is available.", XPUPlatform.dist_backend)
143 - else:
144 - logger.warning(
145 - "xccl is not enabled in this torch build, "
146 - "communication is not available."
147 - )
143
144 if hasattr(torch, "xpu") and torch.xpu.is_available():
145 is_xpu = True
vllm/platforms/xpu.py
+8 -1
@@ -34,7 +34,7 @@ class XPUPlatform(Platform):
34 # Intel XPU's device key is "GPU" for Ray.
35 # see https://github.com/ray-project/ray/blob/6a5eb5865eeb9ccf058a79b44f107e327e360673/python/ray/_private/accelerators/intel_gpu.py#L20 # noqa: E501
36 ray_device_key: str = "GPU"
37 - dist_backend: str = "ccl" # ccl | xccl
37 + dist_backend: str = "xccl" # xccl only
38 device_control_env_var: str = "ZE_AFFINITY_MASK"
39
40 @classmethod
@@ -223,6 +223,13 @@ class XPUPlatform(Platform):
223
224 @classmethod
225 def get_device_communicator_cls(cls) -> str:
226 + from vllm.utils.torch_utils import supports_xccl
227 +
228 + if not supports_xccl():
229 + logger.warning(
230 + "xccl is not enabled in this torch build, communication"
231 + " is not available."
232 + )
233 return "vllm.distributed.device_communicators.xpu_communicator.XpuCommunicator" # noqa
234
235 @classmethod