From 6abf07693ae721ca8c6f01fe1269a38b4c4106dd Mon Sep 17 00:00:00 2001 From: tangwei12 Date: Tue, 19 Jun 2018 17:56:57 +0800 Subject: [PATCH] checkpoint_notify_id rename --- paddle/fluid/operators/listen_and_serv_op.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/listen_and_serv_op.cc b/paddle/fluid/operators/listen_and_serv_op.cc index 477cb90efb6..b0eec2eb443 100644 --- a/paddle/fluid/operators/listen_and_serv_op.cc +++ b/paddle/fluid/operators/listen_and_serv_op.cc @@ -247,7 +247,7 @@ void ListenAndServOp::RunImpl(const framework::Scope &scope, PADDLE_ENFORCE(!rpc_service_); std::string endpoint = Attr("endpoint"); - int checkpoint_point_block_id = Attr(kCheckpointBlockId); + int checkpoint_notify_id = Attr(kCheckpointBlockId); LOG(INFO) << "sync_mode:" << sync_mode << ", fan_in:" << fan_in << ", end_point:" << endpoint @@ -271,7 +271,7 @@ void ListenAndServOp::RunImpl(const framework::Scope &scope, std::shared_ptr ckpt_pre_context = nullptr; if (checkpoint_notify_id != -1) { - auto ctx = executor.Prepare(*program, checkpoint_point_block_id); + auto ctx = executor.Prepare(*program, checkpoint_notify_id); ckpt_pre_context = std::move(ctx); } -- GitLab