[Bugfix] fix xpu communicator (#13368)

Signed-off-by: yan ma <yan.ma@intel.com>
This commit is contained in:
Yan Ma
2025-02-17 20:59:18 +08:00
committed by GitHub
parent 1f69c4a892
commit 30513d1cb6
2 changed files with 58 additions and 0 deletions

View File

@@ -135,3 +135,7 @@ class XPUPlatform(Platform):
logger.warning("Unknown device name %s, always use float16",
device_name)
return False
@classmethod
def get_device_communicator_cls(cls) -> str:
return "vllm.distributed.device_communicators.xpu_communicator.XpuCommunicator" # noqa