Skip to content

Commit 60e2ee0

Browse files
committed
pin jax/tensorflow versions
1 parent d0bd141 commit 60e2ee0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

AlphaFold2.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@
144144
" echo \"installing colabfold...\"\n",
145145
" # install dependencies\n",
146146
" # We have to use \"--no-warn-conflicts\" because colab already has a lot preinstalled with requirements different to ours\n",
147-
" pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/[email protected]\"\n",
148-
" # high risk high gain\n",
149-
" pip install -q \"jax[cuda11_cudnn805]>=0.3.8,<0.4\" -f https://storage.googleapis.com/jax-releases/jax_releases.html\n",
147+
" pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/[email protected]\" \"tensorflow-cpu==2.7.4\"\n",
148+
" pip uninstall -yq jax jaxlib\n",
149+
" pip install -q \"jax[cuda]==0.3.25\" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html\n",
150150
"\n",
151151
" # for debugging\n",
152152
" ln -s /usr/local/lib/python3.*/dist-packages/colabfold colabfold\n",

batch/AlphaFold2_batch.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@
119119
"if [ ! -f COLABFOLD_READY ]; then\n",
120120
" # install dependencies\n",
121121
" # We have to use \"--no-warn-conflicts\" because colab already has a lot preinstalled with requirements different to ours\n",
122-
" pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/[email protected]\"\n",
123-
" # high risk high gain\n",
124-
" pip install -q \"jax[cuda11_cudnn805]>=0.3.8,<0.4\" -f https://storage.googleapis.com/jax-releases/jax_releases.html\n",
122+
" pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/[email protected]\" \"tensorflow-cpu==2.7.4\"\n",
123+
" pip uninstall -yq jax jaxlib\n",
124+
" pip install -q \"jax[cuda]==0.3.25\" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html\n",
125125
" touch COLABFOLD_READY\n",
126126
"fi\n",
127127
"\n",

0 commit comments

Comments
 (0)