Skip to content

Commit

Permalink
Remove pinning of mpmath (#8298)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug authored Mar 5, 2024
1 parent fa5b844 commit bca7a49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/scripts/setup-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ case $GPU_ARCH_TYPE in
;;
esac
PYTORCH_WHEEL_INDEX="https://download.pytorch.org/whl/${CHANNEL}/${GPU_ARCH_ID}"
# TODO: remove pinning of mpmath when https://github.com/pytorch/vision/issues/8292 is properly fixed.
pip install --progress-bar=off "mpmath<1.4" --pre torch --index-url="${PYTORCH_WHEEL_INDEX}"
pip install --progress-bar=off --pre torch --index-url="${PYTORCH_WHEEL_INDEX}"

if [[ $GPU_ARCH_TYPE == 'cuda' ]]; then
python -c "import torch; exit(not torch.cuda.is_available())"
Expand Down

0 comments on commit bca7a49

Please sign in to comment.