Skip to content

Commit

Permalink
solve bug in pull_dense_worker (PaddlePaddle#27918)
Browse files Browse the repository at this point in the history
* op error info

* style

* code format

* create pin var bug
  • Loading branch information
Thunderbrook authored and chen-zhiyu committed Oct 15, 2020
1 parent 899f8cf commit 9466ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/framework/pull_dense_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void PullDenseWorker::Initialize(const TrainerDesc& param) {
}

void PullDenseWorker::CreatePinVar() {
#if (defined PADDLE_WITH_CUDA) || (defined PADDLE_WITH_PSLIB)
#if (defined PADDLE_WITH_CUDA) || (defined PADDLE_WITH_XPU)
// for (auto& v : dense_value_names_) {
// for (auto& name : v.second) {
for (int i = 0; i < dwp_param_.program_config(0).pull_dense_table_id_size();
Expand Down

0 comments on commit 9466ce1

Please sign in to comment.