Skip to content

Commit fe0bc4e

Browse files
committed
Remove --no-deps from mxnet installation.
The latest version do not downgrade numpy anymore: https://github.com/apache/incubator-mxnet/blob/master/python/setup.py#L33
1 parent 2410619 commit fe0bc4e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

gpu.Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ RUN pip uninstall -y tensorflow && \
8989
pip install /tmp/tensorflow_gpu/tensorflow*.whl && \
9090
rm -rf /tmp/tensorflow_gpu && \
9191
pip uninstall -y mxnet && \
92-
# b/126259508 --no-deps prevents numpy from being downgraded.
93-
pip install --no-deps mxnet-cu$CUDA_MAJOR_VERSION$CUDA_MINOR_VERSION && \
92+
pip install mxnet-cu$CUDA_MAJOR_VERSION$CUDA_MINOR_VERSION && \
9493
/tmp/clean-layer.sh
9594

9695
# Reinstall TensorFlow addons (TFA) with GPU support.

0 commit comments

Comments
 (0)