unsupported GPU architecture for the docker build of SSD

29 views
Skip to first unread message

lu...@aidrivers.ai

unread,
Nov 27, 2018, 6:46:42 AM11/27/18
to Caffe Users
I am unable to build the gpu docker of SSD, as it appears on github: https://github.com/weiliu89/caffe/blob/ssd/docker/standalone/gpu/Dockerfile

My host platform is ubuntu 16.04, Quadro M1000M, Nvidia driver Quadro M1000M , nvidia-docker2
GPU passthrough works fine with other recent builds I've done (eg. YOLO)
Advice on how to get a working SSD in a docker would be very much appreciated

Luke



The very end of the output from "docker build -t caffe:gpu ." for completeness most of the ouput is attached (it overflowed my bash buffer so not all!) is attached.

Luke

nvcc fatal   : Unsupported gpu architecture 'compute_60'
CMake Error at cuda_compile_generated_nesterov_solver.cu.o.cmake:206 (message):
  Error generating
  /opt/caffe/build/src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_nesterov_solver.cu.o


make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_nesterov_solver.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
nvcc fatal   : Unsupported gpu architecture 'compute_60'
CMake Error at cuda_compile_generated_math_functions.cu.o.cmake:206 (message):
  Error generating
  /opt/caffe/build/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_math_functions.cu.o


nvcc fatal   : Unsupported gpu architecture 'compute_60'
nvcc fatal   : Unsupported gpu architecture 'compute_60'
CMake Error at cuda_compile_generated_adam_solver.cu.o.cmake:206 (message):
  Error generating
  /opt/caffe/build/src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_adam_solver.cu.o


CMake Error at cuda_compile_generated_sgd_solver.cu.o.cmake:206 (message):
  Error generating
  /opt/caffe/build/src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_sgd_solver.cu.o


make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_math_functions.cu.o] Error 1
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_adam_solver.cu.o] Error 1
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_sgd_solver.cu.o] Error 1
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
make: *** [all] Error 2
The command '/bin/sh -c git clone -b ${CLONE_TAG} --depth 1 https://github.com/BVLC/caffe.git . &&     for req in $(cat python/requirements.txt) pydot; do pip install $req; done &&     mkdir build && cd build &&     cmake -DUSE_CUDNN=1 .. &&     make -j"$(nproc)"' returned a non-zero code: 2
docker_errors

Dennis Mungai

unread,
Nov 27, 2018, 9:33:13 AM11/27/18
to lu...@aidrivers.ai, Caffe Users
Hey, 

Can you show us the output of:

nvcc --version

From your environment? 

--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/b4f27476-d822-4296-90e0-b35c4b5342e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Luke Taylor

unread,
Nov 27, 2018, 9:40:48 AM11/27/18
to caffe...@googlegroups.com

From my Host:

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130
$ nvidia-smi
Tue Nov 27 14:38:02 2018      
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.48                 Driver Version: 410.48                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro M1000M       Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   38C    P0    N/A /  N/A |    367MiB /  2004MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/YYNFcntdMe0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.

To post to this group, send email to caffe...@googlegroups.com.

Dennis Mungai

unread,
Nov 27, 2018, 9:50:00 AM11/27/18
to Luke Taylor, caffe...@googlegroups.com
You should be building this: https://github.com/BVLC/caffe/blob/master/docker/gpu/Dockerfile

See the docker manifests. 

Reply all
Reply to author
Forward
0 new messages