Closed JinraeKim closed 1 year ago
I tried to follow the installation guide using docker but I failed with the error msg.
➜ packnet-sfm git:(master) ✗ make docker-build docker build \ -f docker/Dockerfile \ -t packnet-sfm:latest . Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=docker%2FDockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=packnet-sfm%3Alatest&target=&ulimits=null&version=1": dial unix /var/run/docker.sock: connect: permission denied Makefile:65: recipe for target 'docker-build' failed make: *** [docker-build] Error 1 ➜ packnet-sfm git:(master) ✗ sudo make docker-build docker build \ -f docker/Dockerfile \ -t packnet-sfm:latest . Sending build context to Docker daemon 566.8MB Step 1/53 : FROM nvidia/cuda:10.2-devel-ubuntu18.04 ---> 845c5a574a7f Step 2/53 : ENV PROJECT=packnet-sfm ---> Using cache ---> bd6865ce8d50 Step 3/53 : ENV PYTORCH_VERSION=1.8.1 ---> Using cache ---> e86d74f2bb42 Step 4/53 : ENV TORCHVISION_VERSION=0.9.1 ---> Using cache ---> 968a84d8e002 Step 5/53 : ENV CUDNN_VERSION=7.6.5.32-1+cuda10.2 ---> Using cache ---> ed0b229dce9a Step 6/53 : ENV NCCL_VERSION=2.7.8-1+cuda10.2 ---> Using cache ---> 0069ce569ef0 Step 7/53 : ENV HOROVOD_VERSION=65de4c961d1e5ad2828f2f6c4329072834f27661 ---> Using cache ---> a4777e4e3be7 Step 8/53 : ENV TRT_VERSION=6.0.1.5 ---> Using cache ---> c1d02cc5d61d Step 9/53 : ENV LC_ALL=C.UTF-8 ---> Using cache ---> 84aef5e7fde9 Step 10/53 : ENV LANG=C.UTF-8 ---> Using cache ---> 330fdc579c49 Step 11/53 : ARG python=3.6 ---> Using cache ---> baf016ec94c5 Step 12/53 : ENV PYTHON_VERSION=${python} ---> Using cache ---> 3b8d43f29bfb Step 13/53 : ENV DEBIAN_FRONTEND=noninteractive ---> Using cache ---> 2beeae2878d7 Step 14/53 : SHELL ["/bin/bash", "-cu"] ---> Using cache ---> 86b1b038c12f Step 15/53 : RUN apt-get update && apt-get install -y --allow-downgrades --allow-change-held-packages --no-install-recommends build-essential cmake g++-4.8 git curl docker.io vim wget ca-certificates libcudnn7=${CUDNN_VERSION} libnccl2=${NCCL_VERSION} libnccl-dev=${NCCL_VERSION} libjpeg-dev libpng-dev python${PYTHON_VERSION} python${PYTHON_VERSION}-dev python3-tk librdmacm1 libibverbs1 ibverbs-providers libgtk2.0-dev unzip bzip2 htop gnuplot ffmpeg ---> Running in 6af525ce97ba Get:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease [1581 B] Get:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Packages [903 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB] Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1533 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB] Get:11 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3369 kB] Get:13 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1100 kB] Get:14 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2937 kB] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [29.9 kB] Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1141 kB] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2310 kB] Get:18 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [22.8 kB] Get:19 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [12.2 kB] Get:20 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [12.9 kB] Fetched 26.7 MB in 3s (8292 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package libcudnn7 E: Version '2.7.8-1+cuda10.2' for 'libnccl2' was not found E: Version '2.7.8-1+cuda10.2' for 'libnccl-dev' was not found The command '/bin/bash -cu apt-get update && apt-get install -y --allow-downgrades --allow-change-held-packages --no-install-recommends build-essential cmake g++-4.8 git curl docker.io vim wget ca-certificates libcudnn7=${CUDNN_VERSION} libnccl2=${NCCL_VERSION} libnccl-dev=${NCCL_VERSION} libjpeg-dev libpng-dev python${PYTHON_VERSION} python${PYTHON_VERSION}-dev python3-tk librdmacm1 libibverbs1 ibverbs-providers libgtk2.0-dev unzip bzip2 htop gnuplot ffmpeg' returned a non-zero code: 100 Makefile:65: recipe for target 'docker-build' failed make: *** [docker-build] Error 100
I followed the instruction of vidar and it worked
Hi @JinraeKim , what specifically did you do following vidar?
I think you cloned vidar and its submodule (this packnet?). Thanks for the info.
I tried to follow the installation guide using docker but I failed with the error msg.