File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,21 +6,21 @@ Steps 2 and 3 give you more fine control over which CUDA and matching pytorch ve
66
771\. Create a clean virtual environment
88```
9- mamba create -n bioencoder python=3.9
9+ mamba create -n bioencoder python=3.11 #we tested BioeEcoder with Python 3.9 - 3.11
1010mamba activate bioencoder
1111```
1212
13- 2\. Install CUDA - e.g. :
13+ 2\. Install the CUDA toolkit (just an example, you can use different versions) :
1414```
15- mamba install cuda-toolkit==12.1*
15+ mamba install cuda-toolkit==12.6.3
1616```
1717
18- 3\. Install pytorch (check https://pytorch.org/get-started/locally/ ) - e.g.:
18+ 3\. Install pytorch (needs to match your CUDA toolkit version - check https://pytorch.org/get-started/locally/ ) - e.g.:
1919```
20- pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
20+ pip install torch torchvision --index-url https://download.pytorch.org/whl/cu126
2121```
2222
23- 4\. Install bioencoder from pypi :
23+ 4\. Install bioencoder:
2424````
2525pip install bioencoder
2626````
You can’t perform that action at this time.
0 commit comments