Skip to content

Commit

Permalink
Fix CI GPU install problem
Browse files Browse the repository at this point in the history
  • Loading branch information
VibhuJawa committed Oct 9, 2024
1 parent bd20039 commit efbc828
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ci/test_gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,12 @@ mamba install \
conda-forge::pytorch>=2.0=*cuda* \
conda-forge::transformers \
conda-forge::pytest \
conda-forge::sentence-transformers \
conda-forge::sentencepiece \
-c conda-forge \
--override-channels \
--yes

# Have to install sentence-transformers from pip
# because conda-forge leads to a torch vision conflict
# which leads to it being installed on CPUs
pip3 install sentence-transformers sentencepiece

# Install the crossfit package in editable mode with test dependencies
pip3 install -e '.[test]'
# Running tests
Expand Down

0 comments on commit efbc828

Please sign in to comment.