diff --git a/paddle/fluid/operators/lookup_table_op.h b/paddle/fluid/operators/lookup_table_op.h index 17286191c2675905d31ea428e2453b60d2741d20..3a73a7637c6d7d3eff7443802a4a52be9149e0ef 100644 --- a/paddle/fluid/operators/lookup_table_op.h +++ b/paddle/fluid/operators/lookup_table_op.h @@ -24,9 +24,7 @@ limitations under the License. */ #include "paddle/fluid/operators/math/blas.h" #ifdef PADDLE_WITH_DISTRIBUTE - #include "paddle/fluid/operators/distributed/parameter_prefetch.h" - #endif namespace paddle { @@ -55,8 +53,8 @@ class LookupTableKernel : public framework::OpKernel { auto height_sections = context.Attr>("height_sections"); auto table_names = context.Attr>("table_names"); - if (!height_sections.empty()) { -// if emap is not empty, then the parameter will be fetched from remote + if (!epmap.empty()) { +// if epmap is not empty, then the parameter will be fetched from remote // parameter // server #ifdef PADDLE_WITH_DISTRIBUTE