Skip to content

Commit

Permalink
fix: install
Browse files Browse the repository at this point in the history
  • Loading branch information
umbertogriffo committed Dec 27, 2023
1 parent 76465bf commit 4703275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ install:
echo "Installing..."
mkdir -p .venv
poetry config virtualenvs.in-project true
poetry install
poetry install --no-root --no-ansi
echo "Installing torch and sentence-transformers with pip to avoid poetry's issues in installing torch... (it doesn't install CUDA dependencies)"
. .venv/bin/activate && pip3 install torch~=2.1.2 torchvision torchaudio
. .venv/bin/activate && pip3 install sentence-transformers~=2.2.2
Expand Down

0 comments on commit 4703275

Please sign in to comment.