Skip to content

Commit ed4b013

Browse files
committed
fix cuda issues
1 parent fc378bc commit ed4b013

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

rf/examples/diffusion.ipynb

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"outputs": [],
4040
"source": [
41-
"#@title setup **RFdiffusion** (~2m)\n",
41+
"#@title setup **RFdiffusion** (~3min)\n",
4242
"%%time\n",
4343
"import os, time, signal\n",
4444
"import sys, random, string, re\n",
@@ -58,9 +58,12 @@
5858
"if not os.path.isdir(\"RFdiffusion\"):\n",
5959
" print(\"installing RFdiffusion...\")\n",
6060
" os.system(\"git clone https://github.com/sokrypton/RFdiffusion.git\")\n",
61-
" os.system(\"pip -q install jedi omegaconf hydra-core icecream pyrsistent\")\n",
62-
" os.system(\"pip install dgl -f https://data.dgl.ai/wheels/cu121/repo.html\")\n",
63-
" os.system(\"cd RFdiffusion/env/SE3Transformer; pip -q install --no-cache-dir -r requirements.txt; pip -q install .\")\n",
61+
" os.system(\"pip install jedi omegaconf hydra-core icecream pyrsistent pynvml decorator\")\n",
62+
" os.system(\"pip install git+https://github.com/NVIDIA/dllogger#egg=dllogger\")\n",
63+
" # 17Mar2024: adding --no-dependencies to avoid installing nvidia-cuda-* dependencies\n",
64+
" os.system(\"pip install --no-dependencies dgl==2.0.0 -f https://data.dgl.ai/wheels/cu121/repo.html\")\n",
65+
" os.system(\"pip install --no-dependencies e3nn==0.3.3 opt_einsum_fx\")\n",
66+
" os.system(\"cd RFdiffusion/env/SE3Transformer; pip install .\")\n",
6467
" os.system(\"wget -qnc https://files.ipd.uw.edu/krypton/ananas\")\n",
6568
" os.system(\"chmod +x ananas\")\n",
6669
"\n",

0 commit comments

Comments
 (0)