未验证 提交 8c5b9cf8 编写于 作者: L Leo Chen 提交者: GitHub

remove const qualifier in function return (#46546)

上级 844d9855
......@@ -71,7 +71,7 @@ class NCCLOpHandleBase : public OpHandleBase {
return nccl_ctxs_;
}
const ncclComm_t GetComm() const {
ncclComm_t GetComm() const {
PADDLE_ENFORCE_EQ(
places_.size(),
1,
......
......@@ -560,7 +560,7 @@ class CoalesceGradTensorPass : public ir::Pass {
}
}
VLOG(4) << "all_persistable:" << all_persistable;
VLOG(4) << "any_persistable:" << all_persistable;
VLOG(4) << "any_persistable:" << any_persistable;
// NOTE. In scope_buffered_ssa_graph_executor, after each execution of
// DropScope(), non persistable vars will be Erase or Clear. So
// coalesce_tensor op needs to be executed again after the execution
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册