@@ -26,7 +26,7 @@ RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/lib
2626FROM ${BASE_IMAGE_REPO}/${CPU_BASE_IMAGE_NAME}:${BASE_IMAGE_TAG}
2727{{ end }}
2828# Keep these variables in sync if base image is updated.
29- ENV TENSORFLOW_VERSION=2.6.2
29+ ENV TENSORFLOW_VERSION=2.6.4
3030
3131# We need to redefine the ARG here to get the ARG value defined above the FROM instruction.
3232# See: https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
@@ -53,13 +53,6 @@ RUN pip uninstall -y horovod && \
5353 /tmp/clean-layer.sh
5454{{ end }}
5555
56- {{ if eq .Accelerator "gpu" }}
57- # b/230864778: Temporarily swap the NVIDIA GPG key. Remove once new base image with new GPG key is released.
58- RUN rm /etc/apt/sources.list.d/cuda.list && \
59- apt-key del 7fa2af80 && \
60- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub
61- {{ end }}
62-
6356# Use a fixed apt-get repo to stop intermittent failures due to flaky httpredir connections,
6457# as described by Lionel Chan at http://stackoverflow.com/a/37426929/5881346
6558RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list && \
@@ -85,7 +78,10 @@ RUN conda config --add channels nvidia && \
8578 /tmp/clean-layer.sh
8679
8780{{ if eq .Accelerator "gpu" }}
88- RUN conda install cudf=21.10 cuml=21.10 cudatoolkit=$CUDA_MAJOR_VERSION.$CUDA_MINOR_VERSION && \
81+
82+ # b/232247930: uninstall pyarrow to avoid double installation with the GPU specific version.
83+ RUN pip uninstall -y pyarrow && \
84+ conda install cudf=21.10 cuml=21.10 cudatoolkit=$CUDA_MAJOR_VERSION.$CUDA_MINOR_VERSION && \
8985 /tmp/clean-layer.sh
9086{{ end }}
9187
@@ -405,8 +401,6 @@ RUN pip install bleach && \
405401 pip install jupyterlab-lsp && \
406402 pip install MarkupSafe && \
407403 pip install mistune && \
408- # b/227194111 install latest version of nbconvert until the base image includes nbconvert >= 6.4.5
409- pip install --upgrade nbconvert Jinja2 && \
410404 pip install nbformat && \
411405 pip install notebook && \
412406 pip install papermill && \
0 commit comments