diff --git a/paddle/fluid/operators/detail/request_handler_impl.cc b/paddle/fluid/operators/detail/request_handler_impl.cc index ba7d027637a24d0af91bbd3dca1a75f0e5f03f6a..41b22e2143f0081c575e1c9ccf8834d2bd26e225 100644 --- a/paddle/fluid/operators/detail/request_handler_impl.cc +++ b/paddle/fluid/operators/detail/request_handler_impl.cc @@ -124,7 +124,7 @@ bool RequestCheckpointHandler::Handle(const std::string& varname, framework::Variable* invar, framework::Variable** outvar, const std::string& out_var_name) { - executor_->RunPreparedContext(checkpoint_prepared_ctx_, scope); + executor_->RunPreparedContext(checkpoint_prepared_ctx_.get(), scope); return true; }