Skip to content

Commit

Permalink
Pin pytorch version for OSX tests.
Browse files Browse the repository at this point in the history
Current version of pytorch (12.0.1) ships a specific openmp runtime on
OSX, which conflicts with the system one. This workaround fixes Faiss'
CI until pytorch is fixed, but it does not fix the incompatibility
itself.
  • Loading branch information
beauby committed Sep 28, 2022
1 parent 5e37e1f commit 94457af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conda/faiss/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ outputs:
requires:
- numpy
- scipy
- pytorch
- pytorch # [not osx]
- pytorch <1.12.0 # [osx]
commands:
- python -X faulthandler -m unittest discover -v -s tests -p "test_*"
- python -X faulthandler -m unittest discover -v -s tests -p "torch_*"
Expand Down

0 comments on commit 94457af

Please sign in to comment.