FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

upgrade tf whl to 1.13 with cuda 10.1 · ericcxd/docker-python@7fa5016 · GitHub

Repository navigation

Commit 7fa5016

Browse files
committed
upgrade tf whl to 1.13 with cuda 10.1
1 parent e17e8a0 commit 7fa5016

2 files changed

Lines changed: 15 additions & 14 deletions

File tree

‎tensorflow-whl/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
1.11.0-py36: Tensorflow 1.11.0 wheels built with python 3.6
22
1.12.0-py36: Tensorflow 1.12.0 wheels with Cuda 9.2
3+
1.13.1-py36: Tensorflow 1.13.1 wheels with Cuda 10.1

‎tensorflow-whl/Dockerfile‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:9.2-cudnn7-devel-ubuntu16.04 AS nvidia
1+
FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu16.04 AS nvidia
22
FROM continuumio/anaconda3:5.2.0
33

44
# Avoid interactive configuration prompts/dialogs during apt-get.
@@ -15,8 +15,8 @@ COPY --from=nvidia /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/cuda.gpg
1515

1616
# Ensure the cuda libraries are compatible with the GPU image.
1717
# TODO(b/120050292): Use templating to keep in sync.
18-
ENV CUDA_VERSION=9.2.148
19-
ENV CUDA_PKG_VERSION=9-2=$CUDA_VERSION-1
18+
ENV CUDA_VERSION=10.1.105
19+
ENV CUDA_PKG_VERSION=10-1=$CUDA_VERSION-1
2020
LABEL com.nvidia.volumes.needed="nvidia_driver"
2121
LABEL com.nvidia.cuda.version="${CUDA_VERSION}"
2222
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
@@ -38,17 +38,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3838
cuda-nvml-dev-$CUDA_PKG_VERSION \
3939
cuda-minimal-build-$CUDA_PKG_VERSION \
4040
cuda-command-line-tools-$CUDA_PKG_VERSION \
41-
libcudnn7=7.4.1.5-1+cuda9.2 \
42-
libcudnn7-dev=7.4.1.5-1+cuda9.2 \
43-
libnccl2=2.3.7-1+cuda9.2 \
44-
libnccl-dev=2.3.7-1+cuda9.2 && \
45-
ln -s /usr/local/cuda-9.2 /usr/local/cuda && \
41+
libcudnn7=7.5.0.56-1+cuda10.1 \
42+
libcudnn7-dev=7.5.0.56-1+cuda10.1 \
43+
libnccl2=2.4.2-1+cuda10.1 \
44+
libnccl-dev=2.4.2-1+cuda10.1 && \
45+
ln -s /usr/local/cuda-10.1 /usr/local/cuda && \
4646
ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/libcuda.so.1 && \
4747
rm -rf /var/lib/apt/lists/*
4848

4949
# Install bazel
50-
# Tensorflow 1.11 requires the Bazel 0.15: https://www.tensorflow.org/install/source
51-
ENV BAZEL_VERSION=0.15.0
50+
# Tensorflow 1.13 requires the Bazel 0.19.2: https://www.tensorflow.org/install/source
51+
ENV BAZEL_VERSION=0.19.2
5252
RUN apt-get update && apt-get install -y gnupg zip && \
5353
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list && \
5454
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list && \
@@ -72,7 +72,7 @@ RUN conda install -y python=3.6.6
7272
RUN cd /usr/local/src && \
7373
git clone https://github.com/tensorflow/tensorflow && \
7474
cd tensorflow && \
75-
git checkout r1.12
75+
git checkout r1.13
7676

7777
# Create a tensorflow wheel for CPU
7878
RUN cd /usr/local/src/tensorflow && \
@@ -83,9 +83,9 @@ RUN cd /usr/local/src/tensorflow && \
8383

8484
# Create a tensorflow wheel for GPU/cuda
8585
ENV TF_NEED_CUDA=1
86-
ENV TF_CUDA_VERSION=9.2
87-
# 3.7 is for the K80 and 6.0 is for the P100: https://developer.nvidia.com/cuda-gpus
88-
ENV TF_CUDA_COMPUTE_CAPABILITIES=3.7,6.0
86+
ENV TF_CUDA_VERSION=10.1
87+
# 3.7 is for the K80 and 6.0 is for the P100, 7.5 is for the T4: https://developer.nvidia.com/cuda-gpus
88+
ENV TF_CUDA_COMPUTE_CAPABILITIES=3.7,6.0,7.5
8989
ENV TF_CUDNN_VERSION=7
9090
ENV TF_NCCL_VERSION=2
9191
ENV NCCL_INSTALL_PATH=/usr/

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL