Skip to content

Commit

Permalink
fixing esmfold/openfold to use -std=c++17 (needed for cuda12 and pyto…
Browse files Browse the repository at this point in the history
…rch 2)
  • Loading branch information
sokrypton committed Dec 28, 2023
1 parent ea50984 commit 740d844
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ESMFold.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,16 @@
" os.system(f\"aria2c -q -x 16 https://colabfold.steineggerlab.workers.dev/esm/{model_name} &\")\n",
"\n",
" if not os.path.isfile(\"finished_install\"):\n",
" print(\"installing esmfold...\")\n",
" # install libs\n",
" os.system(\"pip install -q omegaconf \\\"pytorch_lightning<2\\\" \\\"torch<2\\\" biopython ml_collections einops py3Dmol\")\n",
" print(\"installing libs...\")\n",
" os.system(\"pip install -q omegaconf pytorch_lightning biopython ml_collections einops py3Dmol modelcif\")\n",
" os.system(\"pip install -q git+https://github.com/NVIDIA/dllogger.git\")\n",
"\n",
" print(\"installing openfold...\")\n",
" # install openfold\n",
" commit = \"6908936b68ae89f67755240e2f588c09ec31d4c8\"\n",
" os.system(f\"pip install -q git+https://github.com/aqlaboratory/openfold.git@{commit}\")\n",
" os.system(f\"pip install -q git+https://github.com/sokrypton/openfold.git\")\n",
"\n",
" print(\"installing esmfold...\")\n",
" # install esmfold\n",
" os.system(f\"pip install -q git+https://github.com/sokrypton/esm.git\")\n",
" os.system(\"touch finished_install\")\n",
Expand Down Expand Up @@ -341,4 +342,4 @@
"outputs": []
}
]
}
}

0 comments on commit 740d844

Please sign in to comment.