Skip to content

Commit

Permalink
Use numpy 2.0.1 for libtorch builds with python 3.9 (#2003)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Oct 1, 2024
1 parent 3d910f8 commit 2ac5437
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions manywheel/build_libtorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,7 @@ fi
pushd "$PYTORCH_ROOT"
python setup.py clean
retry pip install -qr requirements.txt
if [[ "$DESIRED_PYTHON" == "cp38-cp38" ]]; then
retry pip install -q numpy==1.15
else
retry pip install -q numpy==1.11
fi
retry pip install -q numpy==2.0.1

if [[ "$DESIRED_DEVTOOLSET" == *"cxx11-abi"* ]]; then
export _GLIBCXX_USE_CXX11_ABI=1
Expand Down

0 comments on commit 2ac5437

Please sign in to comment.