Paddle aarch64架构,cmake正常,make报错

sqougxex  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(56)

问题描述 Issue Description

阿里云服务器,cenos7.9,aarch64架构,根据此Issue #57729 ,安装CPU版的0.0.0正常,由于官方没有paddlepaddle-gpu-aarch64,所以想通过源码编译GPU版
按照官网的源码编译步骤进行操作,cmake正常结束,make报错如下

[ 93%] Linking CXX static library libeager_prim_api.a
[ 93%] Built target eager_prim_api
Scanning dependencies of target accumulation_node
[ 93%] Building CXX object paddle/fluid/eager/accumulation/CMakeFiles/accumulation_node.dir/accumulation_node.cc.o
[ 93%] Linking CXX static library libfluid_jit.a
[ 93%] Built target fluid_jit
[ 93%] Linking CXX static library libexecutor_cache.a
[ 93%] Built target executor_cache
Scanning dependencies of target run_program_op
[ 93%] Building CUDA object paddle/fluid/operators/CMakeFiles/run_program_op.dir/run_program_op.cu.o
[ 93%] Building CXX object paddle/fluid/operators/CMakeFiles/run_program_op.dir/run_program_op.cc.o
[ 93%] Linking CXX static library libaccumulation_node.a
[ 93%] Built target accumulation_node
Scanning dependencies of target custom_operator_node
[ 93%] Building CXX object paddle/fluid/eager/custom_operator/CMakeFiles/custom_operator_node.dir/custom_operator_node.cc.o
[ 93%] Linking CXX static library libcustom_operator_node.a
[ 93%] Built target custom_operator_node
Scanning dependencies of target custom_operator_utils
[ 93%] Building CXX object paddle/fluid/eager/custom_operator/CMakeFiles/custom_operator_utils.dir/custom_operator_utils.cc.o
[ 93%] Linking CXX static library libcustom_operator_utils.a
[ 93%] Built target custom_operator_utils
Scanning dependencies of target final_dygraph_function
[ 93%] Building CXX object paddle/fluid/eager/api/generated/eager_generated/forwards/CMakeFiles/final_dygraph_function.dir/dygraph_functions.cc.o
[ 93%] Building CXX object paddle/fluid/eager/api/generated/eager_generated/forwards/CMakeFiles/final_dygraph_function.dir////manual/eager_manual/forwards/add_n_fwd_func.cc.o
[ 93%] Building CXX object paddle/fluid/eager/api/generated/eager_generated/forwards/CMakeFiles/final_dygraph_function.dir/
///manual/eager_manual/forwards/conv2d_fwd_function.cc.o
[ 93%] Building CXX object paddle/fluid/eager/api/generated/eager_generated/forwards/CMakeFiles/final_dygraph_function.dir////manual/eager_manual/forwards/sync_batch_norm_fwd_func.cc.o
[ 93%] Building CXX object paddle/fluid/eager/api/generated/eager_generated/forwards/CMakeFiles/final_dygraph_function.dir/
///manual/eager_manual/forwards/multiply_fwd_func.cc.o
[ 93%] Building CXX object paddle/fluid/eager/api/generated/eager_generated/forwards/CMakeFiles/final_dygraph_function.dir///__/manual/eager_manual/forwards/reshard_fwd_func.cc.o
[ 93%] Linking CXX static library librun_program_op.a
[ 93%] Built target run_program_op
Scanning dependencies of target paddle_inference_io
Scanning dependencies of target eager_generator
Scanning dependencies of target kernel_signature_generator
[ 93%] Building CXX object paddle/fluid/inference/CMakeFiles/paddle_inference_io.dir/io.cc.o
[ 93%] Building CXX object paddle/fluid/pybind/CMakeFiles/kernel_signature_generator.dir/kernel_signature_generator.cc.o
[ 93%] Building CXX object paddle/fluid/eager/auto_code_generator/CMakeFiles/eager_generator.dir/eager_generator.cc.o
[ 93%] Linking CXX executable kernel_signature_generator
[ 93%] Linking CXX static library libpaddle_inference_io.a
[ 93%] Built target paddle_inference_io
Scanning dependencies of target analysis_helper
Scanning dependencies of target paddle_inference_api
[ 93%] Building CXX object paddle/fluid/inference/analysis/CMakeFiles/analysis_helper.dir/helper.cc.o
[ 93%] Building CXX object paddle/fluid/inference/api/CMakeFiles/paddle_inference_api.dir/api.cc.o
[ 93%] Building CXX object paddle/fluid/inference/api/CMakeFiles/paddle_inference_api.dir/api_impl.cc.o
[ 93%] Building CXX object paddle/fluid/inference/api/CMakeFiles/paddle_inference_api.dir/helper.cc.o
[ 93%] Linking CXX static library libanalysis_helper.a
[ 93%] Built target analysis_helper
Scanning dependencies of target ir_pass_manager
[ 93%] Building CXX object paddle/fluid/inference/analysis/CMakeFiles/ir_pass_manager.dir/pass_result_info.cc.o
[ 93%] Building CXX object paddle/fluid/inference/analysis/CMakeFiles/ir_pass_manager.dir/ir_pass_manager.cc.o
[ 93%] Built target kernel_signature_generator
[ 93%] Linking CXX executable eager_generator
[ 93%] Linking CXX static library libpaddle_inference_api.a
[ 93%] Built target paddle_inference_api
Scanning dependencies of target analysis_config
Scanning dependencies of target infer_io_utils
[ 93%] Building CXX object paddle/fluid/inference/api/CMakeFiles/analysis_config.dir/analysis_config.cc.o
[ 93%] Building CXX object paddle/fluid/inference/utils/CMakeFiles/infer_io_utils.dir/io_utils.cc.o
[ 93%] Linking CXX static library libir_pass_manager.a
[ 93%] Built target ir_pass_manager
Scanning dependencies of target ir_analysis_pass
Scanning dependencies of target save_optimized_model_pass
Scanning dependencies of target ir_graph_build_pass
Scanning dependencies of target ir_params_sync_among_devices_pass
[ 93%] Building CXX object paddle/fluid/inference/analysis/passes/CMakeFiles/ir_analysis_pass.dir/ir_analysis_pass.cc.o
[ 93%] Building CXX object paddle/fluid/inference/analysis/passes/CMakeFiles/ir_params_sync_among_devices_pass.dir/ir_params_sync_among_devices_pass.cc.o
[ 93%] Building CXX object paddle/fluid/inference/analysis/passes/CMakeFiles/save_optimized_model_pass.dir/save_optimized_model_pass.cc.o
[ 93%] Building CXX object paddle/fluid/inference/analysis/passes/CMakeFiles/ir_graph_build_pass.dir/ir_graph_build_pass.cc.o
[ 93%] Linking CXX static library libanalysis_config.a
[ 93%] Built target analysis_config
[ 93%] Linking CXX static library libinfer_io_utils.a
[ 93%] Built target infer_io_utils
[ 93%] Built target eager_generator
Scanning dependencies of target legacy_eager_codegen
malloc_consolidate(): invalid chunk size
Subprocess aborted
make[2]: *** [paddle/fluid/eager/auto_code_generator/CMakeFiles/legacy_eager_codegen.dir/build.make:76: paddle/fluid/eager/auto_code_generator/CMakeFiles/legacy_eager_codegen] Error 1
make[1]: *** [CMakeFiles/Makefile2:46759: paddle/fluid/eager/auto_code_generator/CMakeFiles/legacy_eager_codegen.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 93%] Linking CXX static library libir_params_sync_among_devices_pass.a
[ 93%] Built target ir_params_sync_among_devices_pass
[ 93%] Linking CXX static library libir_analysis_pass.a
[ 93%] Built target ir_analysis_pass
[ 93%] Linking CXX static library libir_graph_build_pass.a
[ 93%] Built target ir_graph_build_pass
[ 93%] Linking CXX static library libsave_optimized_model_pass.a
[ 93%] Built target save_optimized_model_pass
[ 93%] Linking CXX static library libfinal_dygraph_function.a
[ 93%] Built target final_dygraph_function
make: *** [Makefile:149: all] Error 2

版本&环境信息 Version & Environment Information

Paddle version: 0.0.0
Paddle With CUDA: False

OS: centos 7
GCC version: (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
Clang version: N/A
CMake version: version 3.19.8
Libc version: glibc 2.28
Python version: 3.8.19

CUDA version: 11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0
cuDNN version: N/A
Nvidia driver version: 515.105.01
Nvidia driver List:
GPU 0: NVIDIA A16

相关问题