Skip to content

Commit

Permalink
pin jax/tensorflow versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sokrypton committed Feb 28, 2023
1 parent d0bd141 commit 60e2ee0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions AlphaFold2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@
" echo \"installing colabfold...\"\n",
" # install dependencies\n",
" # We have to use \"--no-warn-conflicts\" because colab already has a lot preinstalled with requirements different to ours\n",
" pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/ColabFold@v1.5.1\"\n",
" # high risk high gain\n",
" pip install -q \"jax[cuda11_cudnn805]>=0.3.8,<0.4\" -f https://storage.googleapis.com/jax-releases/jax_releases.html\n",
" pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/ColabFold@v1.5.1\" \"tensorflow-cpu==2.7.4\"\n",
" pip uninstall -yq jax jaxlib\n",
" pip install -q \"jax[cuda]==0.3.25\" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html\n",
"\n",
" # for debugging\n",
" ln -s /usr/local/lib/python3.*/dist-packages/colabfold colabfold\n",
Expand Down
6 changes: 3 additions & 3 deletions batch/AlphaFold2_batch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@
"if [ ! -f COLABFOLD_READY ]; then\n",
" # install dependencies\n",
" # We have to use \"--no-warn-conflicts\" because colab already has a lot preinstalled with requirements different to ours\n",
" pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/ColabFold@v1.5.1\"\n",
" # high risk high gain\n",
" pip install -q \"jax[cuda11_cudnn805]>=0.3.8,<0.4\" -f https://storage.googleapis.com/jax-releases/jax_releases.html\n",
" pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/ColabFold@v1.5.1\" \"tensorflow-cpu==2.7.4\"\n",
" pip uninstall -yq jax jaxlib\n",
" pip install -q \"jax[cuda]==0.3.25\" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html\n",
" touch COLABFOLD_READY\n",
"fi\n",
"\n",
Expand Down

0 comments on commit 60e2ee0

Please sign in to comment.