Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make with cuDNN? #383

Open
JohnnyY8 opened this issue Oct 26, 2016 · 7 comments
Open

How to make with cuDNN? #383

JohnnyY8 opened this issue Oct 26, 2016 · 7 comments

Comments

@JohnnyY8
Copy link

Hi everyone:
I want to run make command in "py-faster_rcnn/caffe-fast-rcnn" with CUDA-8.0 and cudnn-8.0-linux-x64-v5.1, but got some errors like following:
image
I have run these command for copying cudnn files:
cp include/cudnn.h /usr/local/include/
cp lib64/libcudnn.* /usr/local/lib/
sudo ln -sf /usr/local/lib/libcudnn.so.5.1.3 /usr/local/lib/libcudnn.so.5
sudo ln -sf /usr/local/lib/libcudnn.so.5 /usr/local/lib/libcudnn.so
sudo ldconfig

I do not know how to fix it? Can anyone help me?
Thanks a lot!

@pham93
Copy link

pham93 commented Oct 26, 2016

issue solved here
might be something you are looking for. This works for me.
#237

@JohnnyY8
Copy link
Author

@pham93 Thanks a lot. It works for me.

@ravikantb
Copy link

@JohnnyY8 @pham93 :
Can someone comment on the performance of using py-faster-rcnn with following setup:
CUDA version: 8.0
cudnn version: 5.0.5
GPU: Nvidia 1080 Pascal architecture

My previous setup of original py-faster-rcnn (i.e. without merging it with latest caffe) used to train at least twice as fast on CUDA-7.5, cudnn-3.0 and Nvidia TitanX Maxwell architecture.

Is there any FP16 computation going on in there which is slower on 1080 as compared to TitanX ?

@JohnnyY8
Copy link
Author

JohnnyY8 commented Nov 8, 2016

@ravikantb Hi:
I am not quite sure about the performance between 1080 and TitanX Maxwell aitecture.
Our environment is CUDA 8.0, cuDNN v5.1, and TitanX pascal architecture. There are some strange situations, our caffe is slower than 1080, but our py-faster-rcnn is faster than 1080. I do not know why exactly.

@JohnnyY8 JohnnyY8 reopened this Nov 8, 2016
@xinleipan
Copy link

@JohnnyY8 How do you manage to make it work on cuda 8.0 and cuDNN v5.1 with Titan X pascal architecture? Could you give the Makefile.config and the way you installed this? Thank you!

@JohnnyY8
Copy link
Author

@xinleipan Hi:
I am sorry for replying late. I manage to make it according to #237 :

cd caffe-fast-rcnn  
git remote add caffe https://github.com/BVLC/caffe.git  
git fetch caffe  
git merge caffe/master 

Hope it can help you.

@vguptai
Copy link

vguptai commented Feb 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants