Build caffe gpu Handshake fail DOCKER

74 views
Skip to first unread message
Assigned to mih...@gmail.com by me

Özlem Akgül

unread,
Mar 19, 2021, 6:42:09 AM3/19/21
to Caffe Users
Hi,
I'd like to build a caffe image on docker for gpu, however when I type the command 

docker build -t caffe:gpu Downloads/DAN-master/docker/standalone/gpu

in command prompt on Ubuntu 20.04, it downloads some of the files while giving the error

: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/Packages  gnutls_handshake() failed: Handshake failed

W: Failed to fetch https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1404/x86_64/Packages  gnutls_handshake() failed: Handshake failed

E: Some index files failed to download. They have been ignored, or old ones used instead.

I thought it might be due to the version of Ubuntu, or maybe that link doesn't work anymore. But when I copy the link and paste it on Google, it automatically downloads the file. Imanaged to build the cpu image but for the gpu... :(( I am totally new to Caffe and Ubuntu, and I'd be grateful if you could help. Thanks a lot! :)  Also I share my nvidia driver properties below.

nvidia-smi
Fri Mar 19 13:14:13 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03    Driver Version: 460.32.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 105...  On   | 00000000:01:00.0 Off |                  N/A |
| N/A   58C    P0    N/A /  N/A |    422MiB /  4040MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1597      G   /usr/lib/xorg/Xorg                 45MiB |
|    0   N/A  N/A      2007      G   /usr/lib/xorg/Xorg                167MiB |
|    0   N/A  N/A      2180      G   /usr/bin/gnome-shell               82MiB |
|    0   N/A  N/A      2974      G   ...gAAAAAAAAA --shared-files       35MiB |
|    0   N/A  N/A      4611      G   ...AAAAAAAA== --shared-files       80MiB |
+-----------------------------------------------------------------------------+


Reply all
Reply to author
Forward
0 new messages