Wednesday, April 20, 2016

[Log] Issue Installing Caffe on Ubuntu 14.04

Few issues.

1. Might need a reboot after installing the Cuda driver? CPU installation works fine. For GPU installation, make all, make test works fine, make testrun reports error. Might also because tried to install Cuda 6.5 in the process.

remember to add

export CUDA_HOME=/usr/local/cuda-7.5
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64

PATH=${CUDA_HOME}/bin:${PATH}
export PATH

into .bashrc

2. Need the cudnn.h head file in /usr/include for CuDNN acceleration. Needed by cudnn.hpp.
Need the *.so file in lib64 to /lib64 folder

https://developer.nvidia.com/cudnn

3. CuDNN v5 is not working, few interface discrepancies were found. v4 works fine.

4. Test with all configurations works fine.

CPU Only
[----------] Global test environment tear-down
[==========] 1056 tests from 146 test cases ran. (39277 ms total)

[  PASSED  ] 1056 tests.

CuNN
[----------] Global test environment tear-down
[==========] 2003 tests from 269 test cases ran. (266570 ms total)
[  PASSED  ] 2003 tests.

GPU 
[----------] Global test environment tear-down
[==========] 1943 tests from 259 test cases ran. (244820 ms total)
[  PASSED  ] 1943 tests.



No comments:

Post a Comment