Skip to content

Commit 740d844

Browse files
committed
fixing esmfold/openfold to use -std=c++17 (needed for cuda12 and pytorch 2)
1 parent ea50984 commit 740d844

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

ESMFold.ipynb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,16 @@
6868
" os.system(f\"aria2c -q -x 16 https://colabfold.steineggerlab.workers.dev/esm/{model_name} &\")\n",
6969
"\n",
7070
" if not os.path.isfile(\"finished_install\"):\n",
71-
" print(\"installing esmfold...\")\n",
7271
" # install libs\n",
73-
" os.system(\"pip install -q omegaconf \\\"pytorch_lightning<2\\\" \\\"torch<2\\\" biopython ml_collections einops py3Dmol\")\n",
72+
" print(\"installing libs...\")\n",
73+
" os.system(\"pip install -q omegaconf pytorch_lightning biopython ml_collections einops py3Dmol modelcif\")\n",
7474
" os.system(\"pip install -q git+https://github.com/NVIDIA/dllogger.git\")\n",
7575
"\n",
76+
" print(\"installing openfold...\")\n",
7677
" # install openfold\n",
77-
" commit = \"6908936b68ae89f67755240e2f588c09ec31d4c8\"\n",
78-
" os.system(f\"pip install -q git+https://github.com/aqlaboratory/openfold.git@{commit}\")\n",
78+
" os.system(f\"pip install -q git+https://github.com/sokrypton/openfold.git\")\n",
7979
"\n",
80+
" print(\"installing esmfold...\")\n",
8081
" # install esmfold\n",
8182
" os.system(f\"pip install -q git+https://github.com/sokrypton/esm.git\")\n",
8283
" os.system(\"touch finished_install\")\n",
@@ -341,4 +342,4 @@
341342
"outputs": []
342343
}
343344
]
344-
}
345+
}

0 commit comments

Comments
 (0)