Skip to content

Commit 002383f

Browse files
committed
docs: added explanation about pytorch index selection
- also included torchvision in pip install instructions
1 parent ba96c89 commit 002383f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ conda create -n modalities python=3.13
6060
conda activate modalities
6161

6262
# Install PyTorch, psutil, Ninja and Flash Attention
63-
pip install "torch>=2.10,<2.11.0" # Or appropriate version for your CUDA setup.
63+
# For PyTorch, select the correct index URL for your CUDA/CPU setup from https://pytorch.org/get-started/locally/ e.g.:
64+
pip install "torch>=2.10,<2.11.0" torchvision --index-url https://download.pytorch.org/whl/cu130
6465
pip install psutil ninja # Ninja lowers compilation time of flash attention significantly
6566
pip install flash-attn==2.8.3 --no-build-isolation
6667
```

0 commit comments

Comments
 (0)