diff --git a/paddle/fluid/operators/gen_nccl_id_op.cc b/paddle/fluid/operators/gen_nccl_id_op.cc index 1cddc998e4cbabe42a7182c58c008074d38ddbf4..77cd4a460aaf8288dea1c0ca136051d0fd2d2104 100644 --- a/paddle/fluid/operators/gen_nccl_id_op.cc +++ b/paddle/fluid/operators/gen_nccl_id_op.cc @@ -102,8 +102,7 @@ class GenNCCLIdOp : public framework::OperatorBase { class GenNCCLIdOpMaker : public framework::OpProtoAndCheckerMaker { public: - GenNCCLIdOpMaker(OpProto* proto, OpAttrChecker* op_checker) - : OpProtoAndCheckerMaker(proto, op_checker) { + void Make() override { AddOutput("NCCLID", "Raw variable contains a NCCL UniqueId instaces."); AddComment(R"DOC( GenNCCLId operator