Skip to content

Commit

Permalink
Install numpy 2.0 before building torchvision
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Jun 3, 2024
1 parent 569dad7 commit f691287
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ if [[ $GPU_ARCH_TYPE == 'cuda' ]]; then
fi
echo '::endgroup::'

echo '::group::Install np2 before building tv'
pip install "numpy==2.0.0rc2"
echo '::endgroup::'

echo '::group::Install third party dependencies prior to TorchVision install'
# Installing with `easy_install`, e.g. `python setup.py install` or `python setup.py develop`, has some quirks when
# when pulling in third-party dependencies. For example:
Expand Down

0 comments on commit f691287

Please sign in to comment.