- 版本、环境信息:
1)PaddlePaddle版本:paddlepaddle-gpu==2.2.2 cudatoolkit=11.2
2)CPU:
(paddle) pc@pc-Irvingao:~$ cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
16 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
3)GPU:
(paddle) pc@pc-Irvingao:~$ 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
(paddle) pc@pc-Irvingao:~$ dpkg -l | grep cudnn
ii libcudnn8 8.2.1.32-1+cuda11.3 amd64 cuDNN runtime libraries
ii libcudnn8-dev 8.2.1.32-1+cuda11.3 amd64 cuDNN development libraries and headers
ii libcudnn8-samples 8.2.1.32-1+cuda11.3 amd64 cuDNN documents and samples
The cudnn which I installed supports cuda version 11.1, 11.2 and 11.3.
4)系统环境:
(paddle) pc@pc-Irvingao:~$ cat /etc/issue
Ubuntu 18.04.6 LTS \n \l
(paddle) pc@pc-Irvingao:~$ uname -a
Linux pc-Irvingao 5.4.0-84-generic #94~18.04.1-Ubuntu SMP Thu Aug 26 23:17:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
- 安装方式信息:
1)Using conda to install:conda install paddlepaddle-gpu==2.2.2 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
(paddle) pc@pc-Irvingao:~$ python
Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 13:51:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle
Error: Can not import avx core while this file exists: /home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/core_avx.so
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/__init__.py", line 25, in <module>
from .fluid import monkey_patch_variable
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/__init__.py", line 36, in <module>
from . import framework
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/framework.py", line 37, in <module>
from . import core
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/core.py", line 294, in <module>
raise e
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/core.py", line 256, in <module>
from .core_avx import *
ImportError: /home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/core_avx.so: undefined symbol: _dl_sym, version GLIBC_PRIVATE
>>>
8条答案
按热度按时间6jygbczu1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档 、 常见问题 、 历史Issue 、 AI社区 来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API , FAQ , Github Issue and AI community to get the answer.Have a nice day!
yv5phkfx2#
I got the same error when I install paddlepaddle cpu version. As a consequence, are there some related dependences lost or missing?
conda install paddlepaddle==2.2.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
sg3maiej3#
I have installed gcc-5 a few days ago, the version info as follow:
ilmyapht4#
Paddle is tested in gcc8 and gcc5 is not well supported, maybe you can try gcc8 it should work well.
myss37ts5#
i have tried gcc8, it did't work
qjp7pelc6#
gcc 11 did't work.
hmtdttj47#
I have the same error.
Although I'm using CPU and my GCC is recent.
2w2cym1i8#
gcc 12 didn't work