ଲ别 执念 2023-10-19 14:46 采纳率: 0%
浏览 6

飞桨Windows编译安装问题

1.安装文档
官方文档,
https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/compile/windows-compile.html
安装模式

img


2.遇到的问题


```c
D:\Paddle\build>cmake .. -GNinja -DWITH_GPU=OFF -DWITH_UNITY_BUILD=ON
CMake Deprecation Warning at CMakeLists.txt:25 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Found Paddle host system: win32, version:
-- Found Paddle host system's CPU: 16 cores
-- CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x86/cl.exe, version: MSVC 19.16.27051.0
-- C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x86/cl.exe, version: MSVC 19.16.27051.0
-- AR tools:
Build static library of PHI
-- Use static C runtime time, refer to https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019
-- Check submodules of paddle, and run 'git submodule update --init --recursive'
Cloning into 'D:/Paddle/third_party/cccl'...
Cloning into 'D:/Paddle/third_party/mkldnn'...
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
fatal: error reading section header 'shallow-info'
fatal: clone of 'https://github.com/oneapi-src/oneDNN.git' into submodule path 'D:/Paddle/third_party/mkldnn' failed
Failed to clone 'third_party/mkldnn'. Retry scheduled
Cloning into 'D:/Paddle/third_party/mkldnn'...
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
fatal: error reading section header 'shallow-info'
fatal: clone of 'https://github.com/oneapi-src/oneDNN.git' into submodule path 'D:/Paddle/third_party/mkldnn' failed
Failed to clone 'third_party/mkldnn' a second time, aborting
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:580 (include)


-- Configuring incomplete, errors occurred!
See also "D:/Paddle/build/CMakeFiles/CMakeOutput.log".
See also "D:/Paddle/build/CMakeFiles/CMakeError.log".

D:\Paddle\build>ninja
ninja: error: loading 'build.ninja': 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆?

``
3.我用了Watt Toolkit,但是下载还是很慢,又啥方法能快速下载和编译?

  • 写回答

1条回答 默认 最新

  • Hi 小朋友 2023-10-19 14:48
    关注

    别用代理,就正常网络下载就行

    评论

报告相同问题?

问题事件

  • 创建了问题 10月19日

悬赏问题

  • ¥20 TEC-9的数据通路实验
  • ¥15 ue5 .3之前好好的现在只要是激活关卡就会崩溃
  • ¥50 MATLAB实现圆柱体容器内球形颗粒堆积
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥15 python爬取bilibili校园招聘网站
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题