File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM nvidia/cuda:8.0-devel-ubuntu16.04
1+ FROM nvidia/cuda:8.0-cudnn6- devel-ubuntu16.04
22
33RUN echo "deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/nvidia-ml.list
44
5- ENV CUDNN_VERSION 6.0.20
65RUN apt-get update && apt-get install -y --no-install-recommends \
76 build-essential \
87 cmake \
98 git \
109 curl \
10+ vim \
1111 ca-certificates \
1212 libjpeg-dev \
13- libpng-dev \
14- libcudnn6=$CUDNN_VERSION-1+cuda8.0 \
15- libcudnn6-dev=$CUDNN_VERSION-1+cuda8.0 && \
13+ libpng-dev &&\
1614 rm -rf /var/lib/apt/lists/*
1715
1816RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh && \
@@ -32,5 +30,7 @@ RUN TORCH_CUDA_ARCH_LIST="3.5 5.2 6.0 6.1+PTX" TORCH_NVCC_FLAGS="-Xfatbin -compr
3230 CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" \
3331 pip install -v .
3432
33+ RUN git clone https://github.com/pytorch/vision.git && cd vision && pip install -v .
34+
3535WORKDIR /workspace
3636RUN chmod -R a+w /workspace
You can’t perform that action at this time.
0 commit comments