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

Refactor code auto-gene for no_need_buffer #41025

Merged
merged 4 commits into from
Mar 30, 2022

Conversation

zyfncg
Copy link
Contributor

@zyfncg zyfncg commented Mar 28, 2022

PR types

Others

PR changes

Others

Describe

对no_need_buffer相关的代码自动生成逻辑进行了调整

  • no_need_buffer由前向yaml文件改为在反向yaml文件中配置
  • 如果反向API所有的输入Tensor都为no_need_buffer,则kernel的backend由全局默认Place决定

@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.

@zyfncg zyfncg merged commit 97cd0f5 into PaddlePaddle:develop Mar 30, 2022
@zyfncg zyfncg deleted the no_need_buffer branch March 30, 2022 02:45
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