未验证 提交 413ca989 编写于 作者: engineer1109's avatar engineer1109 提交者: GitHub

fix symbol redefined (#56766)

上级 d7fc3781
......@@ -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(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册