From 0002a7bc077a327154bc1cc0abd60d8bf51a1546 Mon Sep 17 00:00:00 2001 From: "Han, Chao1" Date: Mon, 30 Dec 2024 19:19:30 +0800 Subject: [PATCH] update --- src/xccl/ProcessGroupXCCL.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/xccl/ProcessGroupXCCL.cpp b/src/xccl/ProcessGroupXCCL.cpp index 0c7552633..8542dc0d8 100644 --- a/src/xccl/ProcessGroupXCCL.cpp +++ b/src/xccl/ProcessGroupXCCL.cpp @@ -1685,8 +1685,7 @@ c10::intrusive_ptr ProcessGroupXCCL::alltoall_base( auto xcclDataType = getXcclDataType(output.scalar_type()); size_t size = input.element_size(); - ccl: - group_start(); + ccl::group_start(); for (const auto r : c10::irange(size_)) { if (send_lengths[r] != 0) { ccl::send( @@ -1756,7 +1755,7 @@ c10::intrusive_ptr ProcessGroupXCCL::alltoall( at::Tensor& /* unused */, xcclComm_t& comm, at::xpu::XPUStream& stream) { - auto xcclDataType = getXcclDataType(input.scalar_type()); + auto xcclDataType = getXcclDataType(inputTensors[0].scalar_type()); ccl::group_start(); for (const int r :