-
Notifications
You must be signed in to change notification settings - Fork 2k
image nivdia/caffe not working with gpu #208
Comments
Can you paste the output of: lsmod | grep nvidia
ls /dev/nvidia* |
lsmod | grep nvidia ls /dev/nvidia* |
UVM is not loaded on your system but somehow you have the device files for it, this is the problem. |
It's now working. Thank you for your help! |
When I try to use caffe to train a net, I meet a error below: F0928 01:20:23.271881 60 math_functions.cu:396] Check failed: status == CURAND_STATUS_SUCCESS (201 vs. 0) CURAND_STATUS_LAUNCH_FAILURE What causes this? |
@zlz0414 what's your GPU? |
@flx42 P100 |
@zlz0414 ok, that's why. Our current caffe/DIGITS images are based on CUDA 7.5 and this version of CUDA doesn't support the Pascal architecture. In the mean time, you need to build a custom image of Caffe, sorry about that. You can take a look at the official Dockerfile for caffe: https://github.com/BVLC/caffe/blob/master/docker/standalone/gpu/Dockerfile |
@flx42 Actually I have tried to build a custom image of Caffe with CUDA 8.0 but still with BVLC/caffe. I will try with NVIDIA/caffe right now. Hopefully it will work. |
You probably aren't compiling for Pascal, modify the cmake line and add something like this:
|
It's still not working. CMake Warning: |
@flx42 I check the Cuda.cmake file and find out that CUDA_ARCH_NAME is needed to be set "Manual" to make CUDA_ARCH_BIN and CUDA_ARCH_PTX able to be set manually. Finally it's working now. Thank you very much! |
Ah yes, sorry, I missed this part! :) |
I tried to use the image nivdia/caffe but it didn't work.
Here is what I did and the result.
sudo nvidia-docker run --rm -t -i nvidia/caffe bash
root@9f3478fe9a6c:/# python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
I also tried to build a image from caffe/docker/standalone/gpu/Dockerfile. And I got the same result.
The text was updated successfully, but these errors were encountered: