PaddlePaddle / Paddle

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

arm架构安装paddle环境问题 #55455

Open wyslsz opened 1 year ago

wyslsz commented 1 year ago

问题描述 Issue Description

我在arm服务器上进行源码编译,执行cmake命令时,提示github连接超时无法下载,但是当我从github上把对应的源码下载完成后放到third_party对应的文件路径下时执行cmake命令又提示“”“目标路径已存在,并且不是一个空目录”,一直是这个问题,想麻烦请教下对于github下载不下来的时候,是否可以自己下载后解压拷贝至对应路径,如果可以应该怎么处理,谢谢。 第一个问题: 将源码下载完成后解压拷贝至对应目录后出现的问题: “ -- Found Paddle host system: , version: -- Found Paddle host system's CPU: 128 cores EXP_CUDA_MODULE_LOADING_LAZY only works with GPU -- CXX compiler: /usr/bin/c++, version: GNU 8.3.0 -- C compiler: /usr/bin/cc, version: GNU 8.3.0 -- AR tools: /usr/bin/ar -- Check submodules of paddle, and run 'git submodule update --init --recursive' fatal: Needed a single revision 无法在子模组路径 'third_party/flashattn/csrc/flash_attn/cutlass' 中找到当前版本 fatal: 目标路径 '/home/uos/10t/program/Paddle/third_party/protobuf/third_party/benchmark' 已经存在,并且不是一个空目录。 fatal: 无法克隆 'https://github.com/google/benchmark.git' 到子模组路径 '/home/uos/10t/program/Paddle/third_party/protobuf/third_party/benchmark' 克隆 'third_party/benchmark' 失败。按计划重试 fatal: 目标路径 '/home/uos/10t/program/Paddle/third_party/protobuf/third_party/benchmark' 已经存在,并且不是一个空目录。 fatal: 无法克隆 'https://github.com/google/benchmark.git' 到子模组路径 '/home/uos/10t/program/Paddle/third_party/protobuf/third_party/benchmark' 第二次尝试克隆 'third_party/benchmark' 失败,退出 无法递归进子模组路径 'third_party/flashattn' 无法递归进子模组路径 'third_party/protobuf' CMake Error at cmake/third_party.cmake:43 (message): Failed to get submodule, please check your network ! Call Stack (most recent call first): CMakeLists.txt:576 (include)

-- Configuring incomplete, errors occurred! ” 第二个问题:

” EXP_CUDA_MODULE_LOADING_LAZY only works with GPU -- CXX compiler: /usr/bin/c++, version: GNU 8.3.0 -- C compiler: /usr/bin/cc, version: GNU 8.3.0 -- AR tools: /usr/bin/ar -- Check submodules of paddle, and run 'git submodule update --init --recursive' fatal: Needed a single revision 无法在子模组路径 'third_party/flashattn/csrc/flash_attn/cutlass' 中找到当前版本 正克隆到 '/home/uos/10t/program/Paddle/third_party/protobuf/third_party/benchmark'... fatal: unable to access 'https://github.com/google/benchmark.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated. fatal: 无法克隆 'https://github.com/google/benchmark.git' 到子模组路径 '/home/uos/10t/program/Paddle/third_party/protobuf/third_party/benchmark' 克隆 'third_party/benchmark' 失败。按计划重试 正克隆到 '/home/uos/10t/program/Paddle/third_party/protobuf/third_party/benchmark'... fatal: unable to access 'https://github.com/google/benchmark.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated. fatal: 无法克隆 'https://github.com/google/benchmark.git' 到子模组路径 '/home/uos/10t/program/Paddle/third_party/protobuf/third_party/benchmark' 第二次尝试克隆 'third_party/benchmark' 失败,退出 无法递归进子模组路径 'third_party/flashattn' 无法递归进子模组路径 'third_party/protobuf' CMake Error at cmake/third_party.cmake:43 (message): Failed to get submodule, please check your network ! Call Stack (most recent call first): CMakeLists.txt:576 (include)

-- Configuring incomplete, errors occurred! ”

版本&环境信息 Version & Environment Information

CPU:S2500 python:3.9 系统:Uos

ccsuzzh commented 1 year ago

建议更换网络代理后重新编译

wyslsz commented 1 year ago

您好,感谢您的回复,我是换了代理后发现还有一些下不下来,所以我想请教下这种的话怎么处理呢,因为我是在远程服务器上安装,所以我是否可以自己下载后拷贝到服务器上对应位置?谢谢!

------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle" @.>; 发送时间: 2023年7月16日(星期天) 下午4:27 @.>; @.**@.>; 主题: Re: [PaddlePaddle/Paddle] arm架构安装paddle环境问题 (Issue #55455)

建议更换网络代理后重新编译

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhengqiwen1997 commented 1 year ago

您好,可以尝试自己本地下载Paddle源代码后,拷贝到远程服务器上。若third_party目录下仍有一些问题,可以尝试在此目录下运行 git submodule init 命令。

wyslsz commented 1 year ago

好的,我试一试,非常感谢您的回复

------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/Paddle" @.>; 发送时间: 2023年7月17日(星期一) 上午10:48 @.>; @.**@.>; 主题: Re: [PaddlePaddle/Paddle] arm架构安装paddle环境问题 (Issue #55455)

您好,可以尝试自己本地下载Paddle源代码后,拷贝到远程服务器上。若third_party目录下仍有一些问题,可以尝试在此目录下运行 git submodule init 命令。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ZheL3zz commented 2 months ago

请问您解决这个问题了吗