[Misc][Platform] Move use allgather to platform (#14010)

Signed-off-by: Mengqing Cao <cmq0113@163.com>
This commit is contained in:
Mengqing Cao
2025-03-03 15:40:04 +08:00
committed by GitHub
parent e584b85afd
commit b87c21fc89
4 changed files with 24 additions and 7 deletions
+4
View File
@@ -119,3 +119,7 @@ class TpuPlatform(Platform):
@classmethod
def get_device_communicator_cls(cls) -> str:
return "vllm.distributed.device_communicators.tpu_communicator.TpuCommunicator" # noqa
@classmethod
def use_all_gather(cls) -> bool:
return True