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

[Prim] support use prim flag in shell #50309

Merged
merged 6 commits into from
Feb 8, 2023

Conversation

cyber-pioneer
Copy link
Contributor

@cyber-pioneer cyber-pioneer commented Feb 7, 2023

PR types

New features

PR changes

Others

Describe

improvement of usability:
User can control decomposing forward and backward ops respectively by set environment variable in shell. When user needs debug project, not any code need be modified.

Currently following modes are supported:

  1. cinn + prim forward + prim backward
  2. prim forward + prim backward
  3. cinn + prim forward
  4. only prim forward
  5. cinn + prim_backward
  6. only prim backward
  7. only cinn

@paddle-bot
Copy link

paddle-bot bot commented Feb 7, 2023

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

Copy link
Contributor

@Aurelius84 Aurelius84 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@XieYunshen XieYunshen left a comment

Choose a reason for hiding this comment

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

LGTM for
set_tests_properties(test_prim_flags_case PROPERTIES TIMEOUT 300)

@JiabinYang JiabinYang merged commit 8c14b02 into PaddlePaddle:develop Feb 8, 2023
@cyber-pioneer cyber-pioneer changed the title [feature] use prim flag in shell [Prim] support use prim flag in shell Feb 20, 2023
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.

4 participants