Skip to content

Commit

Permalink
[fbsync] Remove pinning of mpmath (#8298)
Browse files Browse the repository at this point in the history
Reviewed By: vmoens

Differential Revision: D55062765

fbshipit-source-id: e9f5d1ae2d15679b33145729813c76776455e43e
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Mar 20, 2024
1 parent d2f3a61 commit 87967f4
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 87967f4

Please sign in to comment.