Open MiltonZheng opened 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
似乎我们遇到的问题是一样的
(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分支编译成功了。
谢谢,我也已经更换为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
这个报错我确实看到过,但是感觉说的不知道是啥意思,直接重新编译了hhh 我个人观感就是感觉没有修改什么,但是每次cmake报错都不太一样。 要是你可以用python3.7的话我这里有编好的whl包直接给你。
我也感觉,每次报错都不太一样,我有一个2.5.0的wheel包了,但是老师要自己编一个,我再试试吧
可以给我下whl包吗,多谢
问题描述 Issue Description
我想在标题所示的配置下安装Paddle的XPU版本,一开始用了release/2.5分支的源码进行编译,编译成功了,但是在运行代码的时候卡住,详见https://github.com/PaddlePaddle/Paddle/issues/56661,社区人员解答说2.3以后的版本不再支持K200,所以我就尝试用之前的版本重新编译,但是中间遇到很多错误,其中大部分每次都会卡在xpu依赖下载的地方。 下面是我用release/2.2分支cmake的输出:
中间会有几次因为仓库克隆失败中断,重新尝试可以继续编译,但是最后还是会卡在同一个地方:
上面显示的几个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