Open leo0519 opened 2 months ago
我本地复现一下,有结果了通知你
cuda12.5我们还没支持,但是应该是可以编译过的,cuda版本超过cuda12应该用gcc12编译器及其以上,你换成gcc12吧,我测试了cuda12+gcc12是可以编译过的,你这个同样的命令
@risemeup1 可以提供下詳細的 CUDA 和 GCC 版本嗎?我試過 CUDA 12.5 + GCC 12.3 仍然遇到相同問題。
@tianshuo78520a 可使用 nvcr.io/nvidia/paddlepaddle:24.04-py3
搭配上述 cmake 指令複現
使用Make编译是正常的,Ninja可能存在问题,我们正在尝试修复,需要一些时间,可以先尝试用make编译么?
用 Make 編譯仍然有相同的錯誤
FYI, 該錯誤在 develop 會出現,而 release/3.0-beta 不會,應是之間的 commit 造成的
bug描述 Describe the Bug
Fail to build paddle with develop branch with CUDA12.5 + GCC11.3. According to the error message, the
libphi_core.so
has declarations of phi GPU functors.其他补充信息 Additional Supplementary Information