solve bug in pull_dense_worker (#27918)

* op error info

* style

* code format

* create pin var bug
my_2.0rc
Thunderbrook 5 years ago committed by GitHub
parent 263a9e97fd
commit 3ee6ad6ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();

Loading…
Cancel
Save