[CPU][BugFix] Fix inter-node pipeline parallel (#40150)

Signed-off-by: Fadi Arafeh <fadi.arafeh@arm.com>
This commit is contained in:
Fadi Arafeh
2026-04-20 17:21:12 +08:00
committed by GitHub
parent 58631d7c3f
commit 2aab9acf48
2 changed files with 17 additions and 2 deletions
+4 -2
View File
@@ -394,8 +394,10 @@ class GroupCoordinator:
current_platform.is_tpu() or current_platform.use_custom_op_collectives()
)
self.use_cpu_custom_send_recv = current_platform.is_cpu() and hasattr(
torch.ops._C, "init_shm_manager"
self.use_cpu_custom_send_recv = (
current_platform.is_cpu()
and self.device_communicator
and getattr(self.device_communicator, "supports_tensor_dict", False)
)
def create_mq_broadcaster(