Skip to content

Commit

Permalink
fix symbol redefined (#56766)
Browse files Browse the repository at this point in the history
  • Loading branch information
engineer1109 authored Sep 4, 2023
1 parent d7fc378 commit 413ca98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ std::shared_ptr<ProcessGroup::Task> ProcessGroupCustom::Broadcast(
CommType::BROADCAST);
}

void CheckTensorsInDifferentDevices(
inline void CheckTensorsInDifferentDevices(
const std::vector<phi::DenseTensor>& tensors, const size_t num_devices) {
PADDLE_ENFORCE_EQ(
tensors.empty(),
Expand Down

0 comments on commit 413ca98

Please sign in to comment.