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
[CINN] Remove some pybind interface in cinn to fix compile problem #55043
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
要PaddleWithCINN的时候也有CINN wheel包,还需要修改下面3个文件
if(WITH_CINN)
add_subdirectory(cpp/cinn)
endif()
if(CINN_ONLY)
add_subdirectory(cinn)
return()
endif() 改成 if(WITH_CINN)
add_subdirectory(cpp/cinn)
add_subdirectory(cinn)
endif()
if(CINN_ONLY)
return()
endif()
if(CINN_ONLY)
add_subdirectory(pybind)
endif() 删掉if判断,改为 add_subdirectory(pybind)
if(CINN_ONLY)
...
...
return()
endif() 改为 if(WITH_CINN)
...
...
if(CINN_ONLY)
return()
endif()
endif() |
… fix_cinn_pybind
… fix_cinn_pybind
… fix_cinn_pybind
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
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
…addlePaddle#55043) * remove some pybind interface in cinn to fix compile problem * modify cmake * fix cmake * add log for build cinn whl * fix ninja for cinn * fix conflict
PR types
Bug fixes
PR changes
Others
Description
Pcard-72384
移除部分CINN中在Python端未使用的pybind接口,以解决与Paddle主框架无法共用一套pybind三方库的问题。