PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.29k stars 5.62k forks source link

飞腾S2500+麒麟V10+昆仑K200安装Paddle XPU版本 #56781

Open MiltonZheng opened 1 year ago

MiltonZheng commented 1 year ago

问题描述 Issue Description

我想在标题所示的配置下安装Paddle的XPU版本,一开始用了release/2.5分支的源码进行编译,编译成功了,但是在运行代码的时候卡住,详见https://github.com/PaddlePaddle/Paddle/issues/56661,社区人员解答说2.3以后的版本不再支持K200,所以我就尝试用之前的版本重新编译,但是中间遇到很多错误,其中大部分每次都会卡在xpu依赖下载的地方。 下面是我用release/2.2分支cmake的输出:

(paddle) [root@localhost Paddle]# git checkout release/2.2
已经位于 'release/2.2'
您的分支与上游分支 'origin/release/2.2' 一致。
(paddle) [root@localhost Paddle]# cd build
(paddle) [root@localhost build]# ulimit -n 4096
(paddle) [root@localhost build]# python_exe="/usr/bin/python3.7"
(paddle) [root@localhost build]# export XPU_SDK_ROOT=/root/xpu_sdk
(paddle) [root@localhost build]# cmake .. -DPY_VERSION=3.7 -DPYTHON_EXECUTABLE=$python_exe -DWITH_ARM=ON -DWITH_AARCH64=ON -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DON_INFER=ON -DWITH_XBYAK=OFF -DWITH_XPU=ON -DWITH_GPU=OFF -DWITH_LITE=OFF -DLITE_GIT_TAG=release/v2.9 -DXPU_SDK_ROOT=${XPU_SDK_ROOT} -DCMAKE_CXX_FLAGS="-Wno-error -w"
-- Found Paddle host system: , version: 
-- Found Paddle host system's CPU: 128 cores
-- The CXX compiler identification is GNU 7.3.0
-- The C compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- CXX compiler: /usr/bin/c++, version: GNU 7.3.0
-- C compiler: /usr/bin/cc, version: GNU 7.3.0
-- AR tools: /usr/bin/ar
-- Found Git: /usr/bin/git (found version "2.23.0") 
-- Performing Test MMX_FOUND
-- Performing Test MMX_FOUND - Failed
-- Performing Test SSE2_FOUND
-- Performing Test SSE2_FOUND - Failed
-- Performing Test SSE3_FOUND
-- Performing Test SSE3_FOUND - Failed
-- Performing Test AVX_FOUND
-- Performing Test AVX_FOUND - Failed
-- Performing Test AVX2_FOUND
-- Performing Test AVX2_FOUND - Failed
-- Performing Test AVX512F_FOUND
-- Performing Test AVX512F_FOUND - Failed
CMake Warning at CMakeLists.txt:261 (MESSAGE):
  Disable NCCL when compiling without GPU.  Force WITH_NCCL=OFF.

CMake Warning at CMakeLists.txt:308 (MESSAGE):
  Disable RCCL when compiling without ROCM.  Force WITH_RCCL=OFF.

-- Do not have AVX2 intrinsics and disabled MKL-DNN
-- BOOST_VERSION: 1.41.0, BOOST_URL: http://paddlepaddledeps.bj.bcebos.com/boost_1_41_0.tar.gz
-- warp-ctc library: /root/Paddle/build/third_party/install/warpctc/lib/libwarpctc.so
-- Build OpenBLAS by External Project (include: /root/Paddle/build/third_party/install/openblas/include, library: /root/Paddle/build/third_party/install/openblas/lib/libopenblas.a)
-- CBLAS_PROVIDER: EXTERN_OPENBLAS
-- Protobuf protoc executable: /root/Paddle/build/third_party/install/protobuf/bin/protoc
-- Protobuf-lite library: /root/Paddle/build/third_party/install/protobuf/lib/libprotobuf-lite.a
-- Protobuf library: /root/Paddle/build/third_party/install/protobuf/lib/libprotobuf.a
-- Protoc library: /root/Paddle/build/third_party/install/protobuf/lib/libprotoc.a
-- Protobuf version: 3.1.0
-- Found PythonInterp: /usr/bin/python3.7 (found suitable version "3.7.4", minimum required is "3.7") 
-- Found PythonLibs: /usr/lib64/libpython3.7m.so (found suitable version "3.7.4", minimum required is "3.7") 
-- Found PY_pip: /usr/local/lib/python3.7/site-packages/pip  
-- Found PY_numpy: /usr/local/lib64/python3.7/site-packages/numpy  
-- Found PY_wheel: /usr/local/lib/python3.7/site-packages/wheel  
-- Found PY_google.protobuf: /usr/local/lib64/python3.7/site-packages/google/protobuf  
-- Found NumPy: /usr/local/lib64/python3.7/site-packages/numpy/core/include  
POCKETFFT_INCLUDE_DIR is /root/Paddle/build/third_party/pocketfft/src
-- Looking for UINT64_MAX
-- Looking for UINT64_MAX - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of pthread_spinlock_t
-- Check size of pthread_spinlock_t - done
-- Check size of pthread_barrier_t
-- Check size of pthread_barrier_t - done
-- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC
-- Performing Test C_COMPILER_SUPPORT_FLAG__fPIC - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fPIC - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer
-- Performing Test C_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__fno_omit_frame_pointer - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Werror
-- Performing Test C_COMPILER_SUPPORT_FLAG__Werror - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Werror
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Werror - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wall
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wall - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wall - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wextra - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wnon_virtual_dtor - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wdelete_non_virtual_dtor - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_parameter - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_unused_function - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_literal_suffix - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_unused_local_typedefs - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality - Failed
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_parentheses_equality - Failed
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_ignored_attributes - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_terminate
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_terminate - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_terminate
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_terminate - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_int_in_bool_context
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_int_in_bool_context - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_int_in_bool_context
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_int_in_bool_context - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wimplicit_fallthrough_0
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wimplicit_fallthrough_0 - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wimplicit_fallthrough_0
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wimplicit_fallthrough_0 - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_maybe_uninitialized
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_maybe_uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_maybe_uninitialized
-- Performing Test CXX_COMPILER_SUPPORT_FLAG__Wno_error_maybe_uninitialized - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_unused_function - Success
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_array_bounds
-- Performing Test C_COMPILER_SUPPORT_FLAG__Wno_error_array_bounds - Success
-- Paddle version is 0.0.0
-- Compile with XPU!
-- On inference mode, will take place some specific optimization.
-- commit: 0ee230a7d3
-- branch: release/2.2
WITH_DLNNE:
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LITE_GIT_TAG
    XPU_SDK_ROOT

-- Build files have been written to: /root/Paddle/build
(paddle) [root@localhost build]# 

中间会有几次因为仓库克隆失败中断,重新尝试可以继续编译,但是最后还是会卡在同一个地方:

已发出 Proxy 请求,正在等待回应... 200 OK
长度:676 [text/x-sh]
正在保存至: “pack_paddle_depence.sh.2”

pack_paddle_depence.sh.2                             100%[====================================================================================================================>]     676  --.-KB/s  用时 0s      

2023-08-30 09:03:33 (17.2 MB/s) - 已保存 “pack_paddle_depence.sh.2” [676/676])

+ XRE_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20210921/xre-kylin_aarch64.tar.gz
+ XRE_DIR_NAME=xre-kylin_aarch64
+ XDNN_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20210921/xdnn-kylin_aarch64.tar.gz
+ XDNN_DIR_NAME=xdnn-kylin_aarch64
+ XCCL_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20210623/xccl-kylin_aarch64.tar.gz
+ XCCL_DIR_NAME=xccl-kylin_aarch64
+ wget --no-check-certificate https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20210921/xre-kylin_aarch64.tar.gz -c -q -O xre.tar.gz
make[2]: *** [CMakeFiles/extern_xpu.dir/build.make:93:third_party/xpu/src/extern_xpu-stamp/extern_xpu-download] 错误 4
make[2]: 离开目录“/root/Paddle/build”
make[1]: *** [CMakeFiles/Makefile2:2825:CMakeFiles/extern_xpu.dir/all] 错误 2
make[1]: 离开目录“/root/Paddle/build”
make: *** [Makefile:133:all] 错误 2
(paddle) [root@localhost build]# 

上面显示的几个URL手动输入的话显示已经失效了,而在之前编译release/2.5的过程中我注意到链接中的日期是2023xxxx,所以不知道是不是链接的问题。 我尝试过联系贵团队的Paddle-better@baidu.com申请预编译的whl包,但是没有得到回复,不知道有没有合适的解决方案。

版本&环境信息 Version & Environment Information


Paddle version: 0.0.0 Paddle With CUDA: False

OS: kylin V10 GCC version: (GCC) 7.3.0 Clang version: 7.0.0 (kylin 7.0.0-6.1.ky10) CMake version: version 3.16.8 Libc version: glibc 2.17 Python version: 3.7.12

CUDA version: N/A cuDNN version: N/A Nvidia driver version: N/A Nvidia driver List: N/A


sun-ruijiang commented 1 year ago

似乎我们遇到的问题是一样的

(paddle) make TARGET=ARMV8 -j32 | grep make
--2023-09-04 17:50:56--  https://baidu-kunlun-public.su.bcebos.com/paddle_depence/pack_paddle_depence.sh
Resolving baidu-kunlun-public.su.bcebos.com (baidu-kunlun-public.su.bcebos.com)... 157.255.78.24
Connecting to baidu-kunlun-public.su.bcebos.com (baidu-kunlun-public.su.bcebos.com)|157.255.78.24|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 676 [text/x-sh]
Saving to: ‘pack_paddle_depence.sh.3’

pack_paddle_depence.sh.3                                100%[===============================================================================================================================>]     676  --.-KB/s    in 0s

2023-09-04 17:50:57 (20.6 MB/s) - ‘pack_paddle_depence.sh.3’ saved [676/676]

+ XRE_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20220415/xre-kylin_aarch64.tar.gz
+ XRE_DIR_NAME=xre-kylin_aarch64
+ XDNN_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20220415/xdnn-kylin_aarch64.tar.gz
+ XDNN_DIR_NAME=xdnn-kylin_aarch64
+ XCCL_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20220411/xccl-kylin_aarch64.tar.gz
+ XCCL_DIR_NAME=xccl-kylin_aarch64
+ wget --no-check-certificate https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20220415/xre-kylin_aarch64.tar.gz -c -q -O xre.tar.gz
make[2]: *** [CMakeFiles/extern_xpu.dir/build.make:93: third_party/xpu/src/extern_xpu-stamp/extern_xpu-download] Error 4
make[1]: *** [CMakeFiles/Makefile2:5523: CMakeFiles/extern_xpu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:133: all] Error 2
MiltonZheng commented 1 year ago

似乎我们遇到的问题是一样的

(paddle) make TARGET=ARMV8 -j32 | grep make
--2023-09-04 17:50:56--  https://baidu-kunlun-public.su.bcebos.com/paddle_depence/pack_paddle_depence.sh
Resolving baidu-kunlun-public.su.bcebos.com (baidu-kunlun-public.su.bcebos.com)... 157.255.78.24
Connecting to baidu-kunlun-public.su.bcebos.com (baidu-kunlun-public.su.bcebos.com)|157.255.78.24|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 676 [text/x-sh]
Saving to: ‘pack_paddle_depence.sh.3’

pack_paddle_depence.sh.3                                100%[===============================================================================================================================>]     676  --.-KB/s    in 0s

2023-09-04 17:50:57 (20.6 MB/s) - ‘pack_paddle_depence.sh.3’ saved [676/676]

+ XRE_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20220415/xre-kylin_aarch64.tar.gz
+ XRE_DIR_NAME=xre-kylin_aarch64
+ XDNN_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20220415/xdnn-kylin_aarch64.tar.gz
+ XDNN_DIR_NAME=xdnn-kylin_aarch64
+ XCCL_URL=https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20220411/xccl-kylin_aarch64.tar.gz
+ XCCL_DIR_NAME=xccl-kylin_aarch64
+ wget --no-check-certificate https://baidu-kunlun-product.cdn.bcebos.com/KL-SDK/klsdk-dev/20220415/xre-kylin_aarch64.tar.gz -c -q -O xre.tar.gz
make[2]: *** [CMakeFiles/extern_xpu.dir/build.make:93: third_party/xpu/src/extern_xpu-stamp/extern_xpu-download] Error 4
make[1]: *** [CMakeFiles/Makefile2:5523: CMakeFiles/extern_xpu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:133: all] Error 2

应该是一样的,你可以试着手动输一下这几个链接,其实已经失效了。可能老版本的资源都没有被维护了,得用最新的版本编才行。我这边换了个R200的卡然后用release/2.5分支编译成功了。

sun-ruijiang commented 1 year ago

谢谢,我也已经更换为develop版本了,但是还是没有成功 cmake命令使用的是

cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_CXX_FLAGS="-Wno-error -w -lsnappy" \
         -DPY_VERSION=3.9 -DPYTHON_EXECUTABLE=`which python3` \
         -DWITH_TESTING=OFF -DON_INFER=ON -DWITH_CUSTOM_DEVICE=OFF \
         -DWITH_DISTRIBUTE=ON -DWITH_XPU=ON -DWITH_XPU_BKCL=ON \
         -DWITH_ARM=ON -DWITH_AARCH64=ON
make TARGET=ARMV8 -j$(nproc)

我的环境是 飞腾2500+r200 麒麟系统 你有遇到这个问题吗

[  7%] Performing install step for 'extern_rocksdb'
cd /root/aaawork/Paddle/build/third_party/rocksdb/src/extern_rocksdb-build && mkdir -p /root/aaawork/Paddle/build/third_party/install/rocksdb/lib/ && cp /root/aaawork/Paddle/build/third_party/rocksdb/src/extern_rocksdb-build/librocksdb.a /root/aaawork/Paddle/build/third_party/install/rocksdb/lib/librocksdb.a && cp -r /root/aaawork/Paddle/third_party/rocksdb/include /root/aaawork/Paddle/build/third_party/install/rocksdb/
cd /root/aaawork/Paddle/build/third_party/rocksdb/src/extern_rocksdb-build && /usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/rocksdb/src/extern_rocksdb-stamp/extern_rocksdb-install
[  7%] Completed 'extern_rocksdb'
/usr/local/bin/cmake -E make_directory /root/aaawork/Paddle/build/CMakeFiles
/usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/CMakeFiles/extern_rocksdb-complete
/usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/rocksdb/src/extern_rocksdb-stamp/extern_rocksdb-done
make[2]: Leaving directory '/root/aaawork/Paddle/build'
[  7%] Built target extern_rocksdb
+ tar xvf xdnn.tar.gz
xdnn-kylin_aarch64/
xdnn-kylin_aarch64/so/
xdnn-kylin_aarch64/so/libxpuapi.so
xdnn-kylin_aarch64/include/
xdnn-kylin_aarch64/include/xpu/
xdnn-kylin_aarch64/include/xpu/shared/
xdnn-kylin_aarch64/include/xpu/shared/resnet_lib.h
xdnn-kylin_aarch64/include/xpu/xdnn.h
xdnn-kylin_aarch64/include/xpu/refactor/
xdnn-kylin_aarch64/include/xpu/refactor/batchnorm.h
xdnn-kylin_aarch64/include/xpu/refactor/context/
xdnn-kylin_aarch64/include/xpu/refactor/context/xpu_act_type.h
xdnn-kylin_aarch64/include/xpu/refactor/context/buffer_mgr.h
xdnn-kylin_aarch64/include/xpu/refactor/context/launch_cfg.h
xdnn-kylin_aarch64/include/xpu/refactor/context/newcontext.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/math_vec_int.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/nn_activation_vec_int.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/nn_loss_vec_int.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/nn_pool_vec_int.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/deprecated.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/nn_pad_vec_int.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/fusion_vec_int.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/internal_vec_int.h
xdnn-kylin_aarch64/include/xpu/refactor/deprecation/nn_vec_int.h
xdnn-kylin_aarch64/include/xpu/refactor/autotune/
xdnn-kylin_aarch64/include/xpu/refactor/autotune/autotune.h
xdnn-kylin_aarch64/include/xpu/refactor/fusion_cv_param.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_reduce_testcase.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_common_binary_op.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/gtest_util.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_softmax.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_broadcast_calc.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_common_bitmask.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_common_reduce_op.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/tensor.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_common_unary_op.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/quant_tensor.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_attention.h
xdnn-kylin_aarch64/include/xpu/refactor/gtest/xdnn_gtest_common_activation.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/memory_region.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/profiling.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/npy_dump.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/xdnn_pointer.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/xdnn_to_str.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/xdnn_debug.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/wrapper_check.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/function_info.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/xdnn_time.h
xdnn-kylin_aarch64/include/xpu/refactor/impl_public/json.h
xdnn-kylin_aarch64/include/xpu/refactor/nn_pool.h
xdnn-kylin_aarch64/include/xpu/refactor/core/
xdnn-kylin_aarch64/include/xpu/refactor/core/device.h
xdnn-kylin_aarch64/include/xpu/refactor/core/dtype.h
xdnn-kylin_aarch64/include/xpu/refactor/core/xdnn_version.h
xdnn-kylin_aarch64/include/xpu/refactor/core/quant.h
xdnn-kylin_aarch64/include/xpu/refactor/fusion.h
xdnn-kylin_aarch64/include/xpu/refactor/nn_loss.h
xdnn-kylin_aarch64/include/xpu/refactor/math.h
xdnn-kylin_aarch64/include/xpu/refactor/util/
xdnn-kylin_aarch64/include/xpu/refactor/util/int4_wo_int8.h
xdnn-kylin_aarch64/include/xpu/refactor/util/env.h
xdnn-kylin_aarch64/include/xpu/refactor/util/int_with_ll_t.h
xdnn-kylin_aarch64/include/xpu/refactor/util/vector_util.h
xdnn-kylin_aarch64/include/xpu/refactor/util/float16.h
xdnn-kylin_aarch64/include/xpu/refactor/util/tfloat32.h
xdnn-kylin_aarch64/include/xpu/refactor/util/namespace.h
xdnn-kylin_aarch64/include/xpu/refactor/util/int8_wo_t.h
xdnn-kylin_aarch64/include/xpu/refactor/util/bit16.h
xdnn-kylin_aarch64/include/xpu/refactor/util/int4_wo_int15.h
xdnn-kylin_aarch64/include/xpu/refactor/util/bfloat16.h
xdnn-kylin_aarch64/include/xpu/refactor/util/math_round.h
xdnn-kylin_aarch64/include/xpu/refactor/util/bitmask.h
xdnn-kylin_aarch64/include/xpu/refactor/util/int4.h
xdnn-kylin_aarch64/include/xpu/refactor/util/int15_wo_t.h
xdnn-kylin_aarch64/include/xpu/refactor/nn_box.h
xdnn-kylin_aarch64/include/xpu/refactor/nn.h
xdnn-kylin_aarch64/include/xpu/refactor/math_customization.h
xdnn-kylin_aarch64/include/xpu/refactor/attention.h
xdnn-kylin_aarch64/include/xpu/refactor/nn_customization.h
xdnn-kylin_aarch64/include/xpu/refactor/nn_activation.h
xdnn-kylin_aarch64/include/xpu/refactor/nn_pad.h
xdnn-kylin_aarch64/include/xpu/refactor/internal.h
xdnn-kylin_aarch64/include/xpu/refactor/fusion_cv.h
xdnn-kylin_aarch64/include/xpu/dll_export.h
xdnn-kylin_aarch64/include/xpu/kernel/
xdnn-kylin_aarch64/include/xpu/kernel/cluster3_simd.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster2.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster3_bit16.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster_debug.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster_simd.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster3_tfloat32.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster1_float16.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster2_simd.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster_simd_with_template.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster_math.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster2_float16.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster_primitive_template.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster_primitive.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster3.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster_partition.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster3_float16.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster2_bfloat16.h
xdnn-kylin_aarch64/include/xpu/kernel/cluster2_int4.h
xdnn-kylin_aarch64/include/xpu/xdnn_error.h
xdnn-kylin_aarch64/include/xpu/xdnn_types.h
+ wget --no-check-certificate https://klx-sdk-release-public.su.bcebos.com/xccl/release/1.0.53.6/xccl_socket-kylin_aarch64.tar.gz -c -q -O xccl.tar.gz
+ tar xvf xccl.tar.gz
xccl_socket-kylin_aarch64/
xccl_socket-kylin_aarch64/systest/
xccl_socket-kylin_aarch64/systest/group_demo
xccl_socket-kylin_aarch64/systest/perf_test
xccl_socket-kylin_aarch64/systest/test_bkcl_single_process
xccl_socket-kylin_aarch64/systest/group_demo_multi_machine
xccl_socket-kylin_aarch64/systest/test_bkcl
xccl_socket-kylin_aarch64/systest/demo
xccl_socket-kylin_aarch64/include/
xccl_socket-kylin_aarch64/include/bkcl.h
xccl_socket-kylin_aarch64/so/
xccl_socket-kylin_aarch64/so/libbkcl.so
xccl_socket-kylin_aarch64/.scm/
xccl_socket-kylin_aarch64/.scm/module_info
xccl_socket-kylin_aarch64/LICENSE.CHN.TXT
xccl_socket-kylin_aarch64/doc/
xccl_socket-kylin_aarch64/doc/xccl-installation.md
xccl_socket-kylin_aarch64/doc/xccl-overview.md
xccl_socket-kylin_aarch64/doc/xccl-api-reference.md
xccl_socket-kylin_aarch64/doc/mpirun.md
xccl_socket-kylin_aarch64/doc/xccl-user-guide.md
xccl_socket-kylin_aarch64/LICENSE.ENG.TXT
xccl_socket-kylin_aarch64/version.txt
xccl_socket-kylin_aarch64/ReleaseNotes.md
+ mkdir -p xpu/include/xpu
+ mkdir -p xpu/lib
+ cp -r xre-kylin_aarch64/include/xpu/defs.h xre-kylin_aarch64/include/xpu/runtime_ex.h xre-kylin_aarch64/include/xpu/runtime.h xre-kylin_aarch64/include/xpu/version.h xpu/include/xpu/
+ cp -r xre-kylin_aarch64/so/libxpurt-4.30.0.so xre-kylin_aarch64/so/libxpurt-debug.so xre-kylin_aarch64/so/libxpurt.so xre-kylin_aarch64/so/libxpurt.so.1 xpu/lib/
+ cp -r xdnn-kylin_aarch64/include/xpu/dll_export.h xdnn-kylin_aarch64/include/xpu/kernel xdnn-kylin_aarch64/include/xpu/refactor xdnn-kylin_aarch64/include/xpu/shared xdnn-kylin_aarch64/include/xpu/xdnn_error.h xdnn-kylin_aarch64/include/xpu/xdnn.h xdnn-kylin_aarch64/include/xpu/xdnn_types.h xpu/include/xpu/
+ cp -r xdnn-kylin_aarch64/so/libxpuapi.so xpu/lib/
+ cp -r xccl_socket-kylin_aarch64/include/bkcl.h xpu/include/xpu/
+ cp -r xccl_socket-kylin_aarch64/so/libbkcl.so xpu/lib/
--2023-09-05 16:40:19--  https://baidu-kunlun-public.su.bcebos.com/paddle_depence/get_xft_dependence.sh
Resolving baidu-kunlun-public.su.bcebos.com (baidu-kunlun-public.su.bcebos.com)... 157.255.78.24
Connecting to baidu-kunlun-public.su.bcebos.com (baidu-kunlun-public.su.bcebos.com)|157.255.78.24|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 462 [application/x-sh]
Saving to: ‘get_xft_dependence.sh’

get_xft_dependence.sh                             100%[===========================================================================================================>]     462  --.-KB/s    in 0s

2023-09-05 16:40:21 (13.3 MB/s) - ‘get_xft_dependence.sh’ saved [462/462]

+ XFT_URL=https://klx-sdk-release-public.su.bcebos.com/xft/dev/20230602/.tar.gz
+ XFT_DIR_NAME=
+ '[' '!' -n '' ']'
+ echo 'XFT_DIR_NAME IS NULL'
XFT_DIR_NAME IS NULL
+ exit 0
+ XPTI_URL=https://klx-sdk-release-public.su.bcebos.com/xpti/dev/0.0.1/xpti.tar.gz
+ XPTI_DIR_NAME=xpti
+ '[' -n '' ']'
+ exit 0
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu && /usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-download
[  7%] No patch step for 'extern_xpu'
[  7%] No update step for 'extern_xpu'
/usr/local/bin/cmake -E echo_append
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu && /usr/local/bin/cmake -E echo_append
/usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-patch
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu && /usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-update
[  7%] Performing configure step for 'extern_xpu'
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build && /usr/local/bin/cmake -P /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-configure-Release.cmake
-- extern_xpu configure command succeeded.  See also /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-configure-*.log
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build && /usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-configure
[  7%] Performing build step for 'extern_xpu'
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build && make
make[3]: Entering directory '/root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build'
make[3]: Leaving directory '/root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build'
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build && /usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-build
[  7%] Performing install step for 'extern_xpu'
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build && make install
make[3]: Entering directory '/root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build'
Install the project...
-- Install configuration: ""
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/defs.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/runtime_ex.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/runtime.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/version.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/dll_export.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster3_simd.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster2.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster3_bit16.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster_debug.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster_simd.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster3_tfloat32.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster1_float16.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster2_simd.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster_simd_with_template.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster_math.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster2_float16.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster_primitive_template.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster_primitive.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster3.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster_partition.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster3_float16.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster2_bfloat16.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/kernel/cluster2_int4.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/batchnorm.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/context
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/context/xpu_act_type.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/context/buffer_mgr.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/context/launch_cfg.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/context/newcontext.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/fusion_cv_param.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/nn_pool.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/fusion.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/nn_loss.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/math.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/nn_box.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/nn.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/math_customization.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/attention.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/nn_customization.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/nn_activation.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/nn_pad.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/internal.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/fusion_cv.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/math_vec_int.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/nn_activation_vec_int.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/nn_loss_vec_int.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/nn_pool_vec_int.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/deprecated.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/nn_pad_vec_int.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/fusion_vec_int.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/internal_vec_int.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/deprecation/nn_vec_int.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/autotune
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/autotune/autotune.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_reduce_testcase.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_common_binary_op.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/gtest_util.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_softmax.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_broadcast_calc.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_common_bitmask.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_common_reduce_op.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/tensor.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_common_unary_op.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/quant_tensor.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_attention.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/gtest/xdnn_gtest_common_activation.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/memory_region.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/profiling.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/npy_dump.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/xdnn_pointer.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/xdnn_to_str.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/xdnn_debug.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/wrapper_check.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/function_info.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/xdnn_time.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/impl_public/json.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/core
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/core/device.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/core/dtype.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/core/xdnn_version.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/core/quant.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/bfloat16.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/math_round.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/bitmask.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/int4_wo_int8.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/env.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/int_with_ll_t.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/vector_util.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/float16.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/tfloat32.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/namespace.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/int8_wo_t.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/bit16.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/int4_wo_int15.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/int4.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/refactor/util/int15_wo_t.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/shared
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/shared/resnet_lib.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/xdnn_error.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/xdnn.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/xdnn_types.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/include/xpu/bkcl.h
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/lib
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/lib/libxpurt-4.30.0.so
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/lib/libxpurt-debug.so
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/lib/libxpurt.so
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/lib/libxpurt.so.1
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/lib/libxpuapi.so
-- Installing: /root/aaawork/Paddle/build/third_party/install/xpu/lib/libbkcl.so
make[3]: Leaving directory '/root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build'
cd /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-build && /usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-install
[  7%] Completed 'extern_xpu'
/usr/local/bin/cmake -E make_directory /root/aaawork/Paddle/build/CMakeFiles
/usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/CMakeFiles/extern_xpu-complete
/usr/local/bin/cmake -E touch /root/aaawork/Paddle/build/third_party/xpu/src/extern_xpu-stamp/extern_xpu-done
make[2]: Leaving directory '/root/aaawork/Paddle/build'
[  7%] Built target extern_xpu
make[1]: Leaving directory '/root/aaawork/Paddle/build'
make: *** [Makefile:136: all] Error 2
MiltonZheng commented 1 year ago

这个报错我确实看到过,但是感觉说的不知道是啥意思,直接重新编译了hhh 我个人观感就是感觉没有修改什么,但是每次cmake报错都不太一样。 要是你可以用python3.7的话我这里有编好的whl包直接给你。

sun-ruijiang commented 1 year ago

我也感觉,每次报错都不太一样,我有一个2.5.0的wheel包了,但是老师要自己编一个,我再试试吧

JACKLPJ commented 4 months ago

可以给我下whl包吗,多谢