Skip to content

Conversation

@huangjiyi
Copy link
Member

@huangjiyi huangjiyi commented Dec 17, 2022

PR types

Others

PR changes

Others

Describe

@paddle-bot
Copy link

paddle-bot bot commented Dec 17, 2022

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Dec 17, 2022
@huangjiyi huangjiyi changed the title [PHI decouple] move dropout and cuda_graph_with_memory_pool from fluid to phi [PHI decouple] move dropout_impl and cuda_graph_with_memory_pool from fluid to phi Dec 17, 2022
@huangjiyi
Copy link
Member Author

@YuanRisheng 帮忙 Review 一下

phi::DenseTensor seed_cpu_tensor;
paddle::framework::TensorCopySync(
*seed, platform::CPUPlace(), &seed_cpu_tensor);
phi::Copy(dev_ctx, *seed, phi::CPUPlace(), false, &seed_cpu_tensor);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是同步拷贝,对应phi下copy参数应该是true

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已处理

@luotao1
Copy link
Contributor

luotao1 commented Dec 20, 2022

@YuanRisheng 可以review了

@YuanRisheng YuanRisheng merged commit 579784e into PaddlePaddle:develop Dec 20, 2022
@huangjiyi huangjiyi deleted the decouple_dropout_impl branch March 8, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

3 participants