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
12
12
# See b/142337634#comment28
13
13
RUN sed -i 's/deb https:\/\/ developer.download.nvidia.com/deb http:\/\/ developer.download.nvidia.com/' /etc/apt/sources.list.d/*.list
14
14
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.
17
15
ENV CUDA_MAJOR_VERSION=11
18
16
ENV CUDA_MINOR_VERSION=0
19
17
ENV 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
82
80
/tmp/clean-layer.sh
83
81
84
82
# 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 && \
88
84
pip install mxnet-cu$CUDA_MAJOR_VERSION$CUDA_MINOR_VERSION && \
89
85
/tmp/clean-layer.sh
90
86
You can’t perform that action at this time.
0 commit comments