facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.94k forks source link

conda install caffe2 libcaffe2_gpu.so: undefined symbol: cudnnGetRNNLinLayerMatrixParams #2524

Open xiaoxuefeng opened 6 years ago

xiaoxuefeng commented 6 years ago

I have used the conda to install caffe2.

(py2) jinac@jinac:/usr/local/cuda-8.0/lib64$ conda list cudnn packages in environment at /home/jinac/anaconda3/envs/py2:

Name Version Build Channel caffe2-cuda8.0-cudnn7 0.8.dev py27_2018.05.14 caffe2

(py2) jinac@jinac:/usr/local/cuda-8.0/lib64$ ls libcudnn* -l lrwxrwxrwx 1 root root 15 5月 17 19:49 libcudnn.so -> libcudnn.so.7.0 lrwxrwxrwx 1 root root 18 5月 17 19:25 libcudnn.so.7.0 -> libcudnn.so.7.0.58 -rwxr-xr-x 1 root root 47865640 5月 17 19:11 libcudnn.so.7.0.58 -rw-r--r-- 1 root root 47576450 5月 17 19:11 libcudnn_static.a

but from caffe2.python import core WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode. WARNING:root:Debug message: /home/jinac/anaconda3/envs/py2/lib/python2.7/site-packages/caffe2/python/../../../../libcaffe2_gpu.so: undefined symbol: cudnnGetRNNLinLayerMatrixParams Segmentation fault (core dumped)