|
|
@ -20,7 +20,6 @@
|
|
|
|
#include "paddle/fluid/framework/lod_tensor.h"
|
|
|
|
#include "paddle/fluid/framework/lod_tensor.h"
|
|
|
|
#include "paddle/fluid/framework/scope.h"
|
|
|
|
#include "paddle/fluid/framework/scope.h"
|
|
|
|
#include "paddle/fluid/framework/selected_rows.h"
|
|
|
|
#include "paddle/fluid/framework/selected_rows.h"
|
|
|
|
#include "paddle/fluid/operators/detail/macros.h"
|
|
|
|
|
|
|
|
#include "paddle/fluid/operators/distributed/request_handler_impl.h"
|
|
|
|
#include "paddle/fluid/operators/distributed/request_handler_impl.h"
|
|
|
|
#include "paddle/fluid/operators/distributed/rpc_server.h"
|
|
|
|
#include "paddle/fluid/operators/distributed/rpc_server.h"
|
|
|
|
#include "paddle/fluid/string/printf.h"
|
|
|
|
#include "paddle/fluid/string/printf.h"
|
|
|
@ -29,6 +28,10 @@ namespace paddle {
|
|
|
|
namespace operators {
|
|
|
|
namespace operators {
|
|
|
|
namespace distributed {
|
|
|
|
namespace distributed {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// define LOOKUP_TABLE_PATH for checkpoint notify to save lookup table variables
|
|
|
|
|
|
|
|
// to directory specified.
|
|
|
|
|
|
|
|
constexpr char LOOKUP_TABLE_PATH[] = "lookup_table_path";
|
|
|
|
|
|
|
|
|
|
|
|
bool RequestSendHandler::Handle(const std::string& varname,
|
|
|
|
bool RequestSendHandler::Handle(const std::string& varname,
|
|
|
|
framework::Scope* scope,
|
|
|
|
framework::Scope* scope,
|
|
|
|
framework::Variable* invar,
|
|
|
|
framework::Variable* invar,
|
|
|
|