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
Test Compile Error -- undefined reference to `_Py_Dealloc' #46097
Comments
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~ Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day! |
你好,问题已收到,我们先尝试复现一下 |
This error occurs with commit: b294f05 PaddlePaddle branch:develop CMAKE Flags:
Environment
|
It will not happened on release/v2.4.
|
Yes, but we are testing the performance and functionality of direct model optimization on the develop branch. |
#46231 Fixes |
#46259 merged and fixed |
问题描述 Issue Description
time cmake -DPY_VERSION=3.8 -DWITH_GPU=ON -DWITH_TESTING=ON ..
python的so链接库确实是有的, 但是编译的时候顺序不对
python的位置太靠前,导致后面的libfinal_dygraph_function.a 找不到python的so
make test_egr_ds_grad_tensor_holder VERBOSE=1 -j 16 可以打印链接信息
在eager_deps里写python依赖好像有问题。也可能是CMake的BUG
临时解决方案
paddle/cmake/generic.cmake修改加入${PYTHON_LIBRARIES}
CMAKE VERBOSE
make test_egr_ds_grad_tensor_holder VERBOSE=1 -j 16
版本&环境信息 Version & Environment Information
The text was updated successfully, but these errors were encountered: