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
[PIR+CINN]Support all modules of PIR+CINN with Python unittest #58641
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
#define REGISTER_IR_PASS(pass_type, pass_class) \ | ||
STATIC_ASSERT_PASS_GLOBAL_NAMESPACE( \ | ||
__reg_pir_pass__##pass_type, \ | ||
"REGISTER_IR_PASS must be called in global namespace"); \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里统一对global namespace 的全局static 变量命名加上 pir 前缀,避免libpaddle.so 与 libpir.so 中同名pass导致符号变量仅初始化一次,引起运行时另一个同名Pass未注册的错误。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM of cmake
…ePaddle#58641) * [PIR+CINN]Support all modules of PIR+CINN with Python unittest * fix conflict * fix conflict * add subtract white list * move unittest dir * modify USE_PASS into USE_PIR_PASS to avoid symbolic conflict * PR-CI-CINN require Python3.10 not Python3.9
…ePaddle#58641) * [PIR+CINN]Support all modules of PIR+CINN with Python unittest * fix conflict * fix conflict * add subtract white list * move unittest dir * modify USE_PASS into USE_PIR_PASS to avoid symbolic conflict * PR-CI-CINN require Python3.10 not Python3.9
…ePaddle#58641) * [PIR+CINN]Support all modules of PIR+CINN with Python unittest * fix conflict * fix conflict * add subtract white list * move unittest dir * modify USE_PASS into USE_PIR_PASS to avoid symbolic conflict * PR-CI-CINN require Python3.10 not Python3.9
PR types
New features
PR changes
Others
Description
Pcard-67164
支持了子图 「exp+sub」 的端到端 PIR+CINN 执行。
Step 1: Python 端原生 Program
Step 2: After CINN related Pass
Step 3: After Lowering and ToKernelPass