mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
pin numpy version to 1.18.5 (#42670)
Summary: Using numpy 1.19.x instead of 1.18.x breaks certain unit tests. Fixes https://github.com/pytorch/pytorch/issues/42561. Likely also fixes https://github.com/pytorch/pytorch/issues/42583. CC ezyang xw285cornell sunway513 Pull Request resolved: https://github.com/pytorch/pytorch/pull/42670 Reviewed By: ezyang Differential Revision: D22978369 Pulled By: malfet fbshipit-source-id: ce1f35c7ba620c2b9dd10613f39354cebee8b87d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bcab2d6848
commit
049c1b97be
@ -67,9 +67,9 @@ if [ -n "$ANACONDA_PYTHON_VERSION" ]; then
|
||||
if [ "$ANACONDA_PYTHON_VERSION" = "3.8" ]; then
|
||||
# DO NOT install typing if installing python-3.8, since its part of python-3.8 core packages
|
||||
# Install llvm-8 as it is required to compile llvmlite-0.30.0 from source
|
||||
conda_install numpy pyyaml mkl mkl-include setuptools cffi future six llvmdev=8.0.0
|
||||
conda_install numpy=1.18.5 pyyaml mkl mkl-include setuptools cffi future six llvmdev=8.0.0
|
||||
else
|
||||
conda_install numpy pyyaml mkl mkl-include setuptools cffi typing future six
|
||||
conda_install numpy=1.18.5 pyyaml mkl mkl-include setuptools cffi typing future six
|
||||
fi
|
||||
if [[ "$CUDA_VERSION" == 9.2* ]]; then
|
||||
conda_install magma-cuda92 -c pytorch
|
||||
|
@ -154,7 +154,7 @@ pip install --no-cache-dir \
|
||||
future \
|
||||
hypothesis \
|
||||
jupyter \
|
||||
numpy \
|
||||
numpy==1.18.5 \
|
||||
protobuf \
|
||||
pytest \
|
||||
pyyaml \
|
||||
|
Reference in New Issue
Block a user