Problem: Docker image uses CUDA 7.5, and host system driver 367.44 requires CUDA 8 #237
Comments
Pascal support is only available starting with CUDA 8.0. |
Ok. So does that mean I won't be able to run an image that uses anything below CUDA 8.0? |
Not necessarily, it depends how the project was compiled and which libraries it's using. In CUDA we have an assembly language called PTX, if your app was compiled with CUDA 7.5 but with all CUDA code bundled as PTX, then at runtime the code will be JITed by the NVIDIA driver for your new architecture. If your code was compiled with only binary code (e.g. When you use cuDNN, they don't have PTX for most algorithms, so it won't work. Anyway, I think your problem is just that you aren't using the |
Sorry, I read too fast. You did try with |
Ok, thanks for the feedback. Do you have any suggestions for the best way to move forward? From what I've read on similar problems (and as @3XX0 suggests) it seems like updating the image to CUDA 8 might work. I haven't done this before . . . would I just edit the docker files (update to CUDA8 for install-cuda-drivers-ubuntu-14.04.sh and update to cuDNN5 for docker-gpu.df) and create new image? |
Yes, try to modify the first line to |
I cloned the source image via
I then pushed it up to my remote, built the docker image, and pushed that to dockerhub. Now when I run
I think this is at least an improvement because it's now saying Seems like a Python issue now, so perhaps more appropriate to pose this question somewhere else. |
Yeah, it's clearly a Python issue now :) Closing this. |
I’m trying to run an image that uses CUDA 7.5, but my host driver is
367.44
for a GTX1070. I’m getting the error,Value 'sm_61' is not defined for option 'gpu-architecture’
, which suggests that my host driver is incompatible with the CUDA version on the image. To run this image I was using nvidia-docker rather than plain docker, but it still returned the error.I thought nvidia-docker is supposed to solve this problem? Am I doing something wrong (e.g., need to have a driver compatible with CUDA 7.5 on the image), or is this not possible, and I will need to have a CUDA 7.5 compatible driver on my host?
Specifically, I'm trying to run the alexjc/neural-doodle:gpu image. https://github.com/alexjc/neural-doodle/issues/96
The text was updated successfully, but these errors were encountered: