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

prevent mxnet from downgrading numpy · Neetha09/docker-python@504f8ba · GitHub

Repository navigation

Commit 504f8ba

Browse files
committed
prevent mxnet from downgrading numpy
1 parent 8dc2d4e commit 504f8ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎gpu.Dockerfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ RUN pip uninstall -y tensorflow && \
5050
rm -rf /tmp/tensorflow_gpu && \
5151
conda uninstall -y pytorch-cpu torchvision-cpu && \
5252
conda install -y pytorch torchvision cudatoolkit=9.2 -c pytorch && \
53+
pip uninstall -y mxnet && \
54+
# b/126259508 --no-deps prevents numpy from being downgraded.
55+
pip install --no-deps mxnet-cu92 && \
5356
/tmp/clean-layer.sh
5457

55-
RUN pip uninstall -y mxnet && \
56-
pip install mxnet-cu92
57-
5858
# Install GPU-only packages
5959
RUN pip install pycuda && \
6060
pip install cupy-cuda92 && \

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL