File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ COPY --from=nvidia /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/cuda.gpg
1212# See b/142337634#comment28
1313RUN sed -i 's/deb https:\/\/ developer.download.nvidia.com/deb http:\/\/ developer.download.nvidia.com/' /etc/apt/sources.list.d/*.list
1414
15- # Ensure the cuda libraries are compatible with the custom Tensorflow wheels.
16- # TODO(b/120050292): Use templating to keep in sync or COPY installed binaries from it.
1715ENV CUDA_MAJOR_VERSION=11
1816ENV CUDA_MINOR_VERSION=0
1917ENV CUDA_VERSION=$CUDA_MAJOR_VERSION.$CUDA_MINOR_VERSION
@@ -82,9 +80,7 @@ RUN pip install jax==0.2.16 jaxlib==0.1.68+cuda$CUDA_MAJOR_VERSION$CUDA_MINOR_VE
8280 /tmp/clean-layer.sh
8381
8482# Reinstall packages with a separate version for GPU support.
85- RUN pip uninstall -y tensorflow && \
86- pip install tensorflow-gpu==2.4.1 && \
87- pip uninstall -y mxnet && \
83+ RUN pip uninstall -y mxnet && \
8884 pip install mxnet-cu$CUDA_MAJOR_VERSION$CUDA_MINOR_VERSION && \
8985 /tmp/clean-layer.sh
9086
You can’t perform that action at this time.
0 commit comments