-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
根据官网教程在因特尔CPU以及昆仑2代芯片编译安装XPU出现 Built target extern_mkldnn 错误 #62398
Comments
1、看起来这个版本有点古老:release/2.3,看能换比较新的版本试试吗? |
答复houj04 |
如果使用的是release/2.3版本,那么很可能是这个问题: |
答复【houj04】 安装paddlepaddle-xpu: 检验安装:
感谢【houj04】答复支持!谢谢! |
不客气,能用就好! |
问题描述 Issue Description
现阶段已根据官网教程进行从源码编译支持昆仑 XPU 的包。执行的cmake指令如下:
cmake .. -DPY_VERSION=3.8 -DCMAEK_BUILD_TYPE=Release -DWITH_GPU=OFF -DWITH_XPU=ON -DON_INFER=ON -DWITH_PYTHON=ON -DWITH_AVX=ON -DWITH_MKL=ON -DWITH_MKLDNN=ON -DWITH_XPU_BKCL=ON -DWITH_DISTRIBUTE=ON -DWITH_NCCL=OFF
在执行过程中出现了如下信息:
[100%] Built target dnnl_cpu_x64
[100%] Built target dnnl_cpu
Scanning dependencies of target dnnl
[100%] Linking CXX shared library libdnnl.so
[100%] Built target dnnl
[ 2%] Performing install step for 'extern_mkldnn'
-- extern_mkldnn install command succeeded. See also /home/dl/Paddle/build/third_party/mkldnn/src/extern_mkldnn-stamp/extern_mkldnn-install-*.log
[ 2%] Completed 'extern_mkldnn'
[ 2%] Built target extern_mkldnn
make: *** [Makefile:130: all] Error 2
请问我应该修改哪里可以正常编译安装。
版本&环境信息 Version & Environment Information
python版本: 3.8
cmake版本:cmake version 3.16.3
操作系统版本以及Ubuntu版本: Linux version 5.15.0-41-generic (buildd@lcy02-amd64-105) (gcc (Ubuntu 9.4.0-1ubuntu1
20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #4420.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022paddle安装包教程中指定:git checkout release/2.3
The text was updated successfully, but these errors were encountered: