Skip to content

Commit

Permalink
pushing A100 fix (default jaxlib not compatible with A100)
Browse files Browse the repository at this point in the history
  • Loading branch information
sokrypton committed Apr 23, 2024
1 parent a69c85f commit 9a5c316
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AlphaFold2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@
" print(\"installing colabfold...\")\n",
" os.system(\"pip install -q --no-warn-conflicts 'colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/ColabFold'\")\n",
" if os.environ.get('TPU_NAME', False) != False:\n",
" os.system(\"pip install -q --no-warn-conflicts -U dm-haiku==0.0.10 jax==0.3.25\")\n",
" os.system(\"pip uninstall -y jax jaxlib\")\n",
" os.system(\"pip install --no-warn-conflicts --upgrade dm-haiku==0.0.10 'jax[cuda12_pip]'==0.3.25 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html\")\n",
" os.system(\"ln -s /usr/local/lib/python3.*/dist-packages/colabfold colabfold\")\n",
" os.system(\"ln -s /usr/local/lib/python3.*/dist-packages/alphafold alphafold\")\n",
" os.system(\"touch COLABFOLD_READY\")\n",
Expand Down Expand Up @@ -635,4 +636,4 @@
]
}
]
}
}

0 comments on commit 9a5c316

Please sign in to comment.