diff --git a/paddle/fluid/operators/checkpoint_notify_op.cc b/paddle/fluid/operators/checkpoint_notify_op.cc index 72976e22cacb5fc6c76838f4feff9cddfcf5aa83..7b4c607c33e349ffdd03af4a461044ab8cb858df 100644 --- a/paddle/fluid/operators/checkpoint_notify_op.cc +++ b/paddle/fluid/operators/checkpoint_notify_op.cc @@ -42,8 +42,9 @@ class CheckpointNotifyOp : public framework::OperatorBase { detail::RPCClient* rpc_client = detail::RPCClient::GetInstance(); for (size_t i = 0; i < epmap.size(); i++) { - VLOG(3) << "sending " << dir <<" to " << epmap[i] << " to checkpoint notify ... "; - auto serial_looku_table = string::Sprintf("%s/%s_%d", dir, lookup_table_name, i); + VLOG(3) << "checkpoint notify sending " << dir << " to " << epmap[i]; + auto serial_looku_table = + string::Sprintf("%s/%s_%d", dir, lookup_table_name, i); rpc_client->AsyncCheckpointNotify(epmap[i], serial_looku_table); } rpc_client->Wait(); @@ -60,8 +61,8 @@ class CheckpointNotifyOpMaker : public framework::OpProtoAndCheckerMaker { .SetDefault({"127.0.0.1:6164"}); AddAttr( "dir", "(string, default '') indicate the folder checkpoint will use"); - AddAttr( - "lookup_table", "(string, default '') the lookup table name"); + AddAttr("lookup_table", + "(string, default '') the lookup table name"); AddComment(R"DOC( Prefetch operator