From 752eb08b4b40b7fa44c21f1760ba71a790186b67 Mon Sep 17 00:00:00 2001 From: tangwei12 Date: Mon, 18 Jun 2018 22:52:59 +0800 Subject: [PATCH] move checkpoint message to variable message --- paddle/fluid/operators/detail/grpc_server.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/operators/detail/grpc_server.cc b/paddle/fluid/operators/detail/grpc_server.cc index b7f4032c5af..2f58b7d15e9 100644 --- a/paddle/fluid/operators/detail/grpc_server.cc +++ b/paddle/fluid/operators/detail/grpc_server.cc @@ -208,10 +208,12 @@ class RequestCheckpointNotify final : public RequestBase { std::string checkpoint_notify = request_->Varname(); std::string checkpoint_dir = request_->Varname(); - framework::Variable* invar = nullptr; framework::Variable* outvar = nullptr; + VLOG(4) << "RequestCheckpointNotify notify: " << checkpoint_notify + << ", dir: " << checkpoint_dir; + request_handler_->Handle(checkpoint_notify, scope, invar, &outvar, checkpoint_dir); Finish(reply_, &responder_); -- GitLab