未验证 提交 3ee6ad6e 编写于 作者: T Thunderbrook 提交者: GitHub

solve bug in pull_dense_worker (#27918)

* op error info

* style

* code format

* create pin var bug
上级 263a9e97
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册