Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cherry-pick] Optimize linspace to avoid GPU -> CPU copy. (#42750) #43746

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

Xreki
Copy link
Contributor

@Xreki Xreki commented Jun 22, 2022

PR types

Performance optimization

PR changes

OPs

Describe

cherry-pick #42750

QA反馈,#42750 优化后,solov2模型性能可提升6%,故cherry-pick到2.3。因#41096 将linspace python实现从fluid.layers.tensor挪到了paddle.tensor.creation下,该pr不在release/2.3分支中,故将#42750 中python修改同步到fluid.layers.tensor.linspace中。

@paddle-bot-old
Copy link

你的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.

@Xreki Xreki requested a review from zhangting2020 June 22, 2022 07:08
@lanxianghit lanxianghit merged commit 4dcfc6d into PaddlePaddle:release/2.3 Jun 22, 2022
@Xreki Xreki deleted the release/2.3 branch April 2, 2023 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants