首页 Paddle框架 帖子详情
gpu机器pip方式安装无法成功
收藏
快速回复
Paddle框架 问答深度学习 554 1
gpu机器pip方式安装无法成功
收藏
快速回复
Paddle框架 问答深度学习 554 1

```java

[zjbing@localhost ~]$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[zjbing@localhost ~]$

```

 

 

```java

[zjbing@localhost ~]$ /usr/local/cuda-11.2/samples/bin/x86_64/linux/release/deviceQuery
/usr/local/cuda-11.2/samples/bin/x86_64/linux/release/deviceQuery Starting...

CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 999
-> unknown error
Result = FAIL

```

 

 

import paddle命令后出现error

```java

[zjbing@localhost ~]$ python
Python 3.9.6 (default, Jul 20 2021, 02:04:53)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle
W0730 01:59:00.810194 2803 init.cc:141] Compiled with WITH_GPU, but no GPU found in runtime.
/home/zjbing/.local/lib/python3.9/site-packages/paddle/fluid/framework.py:300: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
warnings.warn(
>>>

```

 

 

```java

[zjbing@localhost ~]$ lspci | grep -i nvidia
13:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100S PCIe 32GB] (rev a1)

```

 

 

```java

[zjbing@localhost ~]$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_14_21:12:58_PST_2021
Cuda compilation tools, release 11.2, V11.2.152
Build cuda_11.2.r11.2/compiler.29618528_0
[zjbing@localhost ~]$

```

0
收藏
回复
全部评论(1)
时间顺序
三岁
#2 回复于2021-07

这个可以去提一下issue:https://github.com/PaddlePaddle/Paddle/issues

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户