Skip to content

Commit db06cf0

Browse files
Works on my machine
1 parent 82b4f77 commit db06cf0

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

devops/install.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
#!/bin/bash
22
set -e
33

4-
echo "Installing dependencies..."
4+
echo "Installing compatible numpy..."
5+
pip install "numpy>=1.21.0,<2.0.0"
6+
7+
echo "Installing PyTorch dependencies..."
58
pip install -r requirements-torch.txt --index-url https://download.pytorch.org/whl/cu121
69

10+
echo "Installing other dependencies..."
11+
pip install -r requirements.txt
12+
713
echo "Installing FAISS..."
8-
pip install faiss-cpu==1.7.4
14+
pip install faiss-cpu==1.12.0
915

1016
echo "Installing project..."
1117
pip install -e .

requirements-torch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
torch==2.2.0+cu121
22
torchaudio==2.2.0+cu121
3-
torchvision==0.1.6
3+
torchvision==0.17.0+cu121

0 commit comments

Comments
 (0)