|
2 | 2 | name = "rfdiffusion" |
3 | 3 | version = "0.0.1" |
4 | 4 | description = "Pixi environment for https://github.com/RosettaCommons/rc RFdiffusion app" |
5 | | -# platforms = ["linux-64"] |
6 | | -platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"] |
7 | | -channels = ["conda-forge", "pytorch", "dglteam", "nvidia"] |
| 5 | +platforms = ["linux-64"] |
| 6 | +#platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"] |
| 7 | + |
| 8 | +channels = ["pytorch", "nvidia", "conda-forge", "dglteam"] |
8 | 9 |
|
9 | 10 | [dependencies] |
10 | 11 | python = "==3.9" |
11 | 12 | pip = "*" |
12 | 13 |
|
| 14 | +numpy = "1.*" |
| 15 | + |
| 16 | +pytorch = { version = "==1.12.1", channel = "pytorch" } |
| 17 | +pytorch-cuda = { version = "==11.6", channel = "pytorch" } |
| 18 | +"dgl-cuda11.6" = "*" |
| 19 | + |
| 20 | +mkl = "<2024.1" |
| 21 | + |
| 22 | +[pypi-dependencies] |
| 23 | +e3nn = "==0.3.3" |
| 24 | +wandb = "==0.12.0" |
| 25 | +pynvml = "==11.0.0" |
| 26 | +dllogger = { git = "https://github.com/NVIDIA/dllogger" } |
| 27 | +decorator = "==5.1.0" |
| 28 | +hydra-core = "==1.3.2" |
| 29 | +pyrsistent = "==0.19.3" |
| 30 | + |
13 | 31 | [tasks] |
| 32 | +setup = { depends-on = ["install", "download_weights"] } |
| 33 | + |
14 | 34 | install = """ |
15 | 35 | ( rm -rf rfdiffusion-repo-clone ; git clone https://github.com/RosettaCommons/RFdiffusion.git rfdiffusion-repo-clone ) \ |
16 | | -&& pip install \ |
17 | | - dgl==1.0.2+cu116 -f https://data.dgl.ai/wheels/cu116/repo.html \ |
18 | | - torch==1.12.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116 \ |
19 | | - e3nn==0.3.3 \ |
20 | | - wandb==0.12.0 \ |
21 | | - pynvml==11.0.0 \ |
22 | | - git+https://github.com/NVIDIA/dllogger#egg=dllogger \ |
23 | | - decorator==5.1.0 \ |
24 | | - hydra-core==1.3.2 \ |
25 | | - pyrsistent==0.19.3 \ |
26 | 36 | && pip install --no-cache-dir rfdiffusion-repo-clone/env/SE3Transformer \ |
27 | 37 | && pip install --no-cache-dir -e rfdiffusion-repo-clone/ --no-deps \ |
28 | 38 | """ |
29 | 39 |
|
30 | | -setup = { depends-on = ["install"] } |
| 40 | +[tasks.download_weights] |
| 41 | +depends-on = ["install"] |
| 42 | +cmd = """ |
| 43 | +( rm -rf rfdiffusion-repo-clone/models ; mkdir -p rfdiffusion-repo-clone/models ) \ |
| 44 | +&& wget -O rfdiffusion-repo-clone/models/Base_ckpt.pt http://files.ipd.uw.edu/pub/RFdiffusion/6f5902ac237024bdd0c176cb93063dc4/Base_ckpt.pt \ |
| 45 | +&& wget -O rfdiffusion-repo-clone/models/Complex_base_ckpt.pt http://files.ipd.uw.edu/pub/RFdiffusion/e29311f6f1bf1af907f9ef9f44b8328b/Complex_base_ckpt.pt \ |
| 46 | +&& wget -O rfdiffusion-repo-clone/models/Complex_Fold_base_ckpt.pt http://files.ipd.uw.edu/pub/RFdiffusion/60f09a193fb5e5ccdc4980417708dbab/Complex_Fold_base_ckpt.pt \ |
| 47 | +&& wget -O rfdiffusion-repo-clone/models/InpaintSeq_ckpt.pt http://files.ipd.uw.edu/pub/RFdiffusion/74f51cfb8b440f50d70878e05361d8f0/InpaintSeq_ckpt.pt \ |
| 48 | +&& wget -O rfdiffusion-repo-clone/models/InpaintSeq_Fold_ckpt.pt http://files.ipd.uw.edu/pub/RFdiffusion/76d00716416567174cdb7ca96e208296/InpaintSeq_Fold_ckpt.pt \ |
| 49 | +&& wget -O rfdiffusion-repo-clone/models/ActiveSite_ckpt.pt http://files.ipd.uw.edu/pub/RFdiffusion/5532d2e1f3a4738decd58b19d633b3c3/ActiveSite_ckpt.pt \ |
| 50 | +&& wget -O rfdiffusion-repo-clone/models/Base_epoch8_ckpt.pt http://files.ipd.uw.edu/pub/RFdiffusion/12fc204edeae5b57713c5ad7dcb97d39/Base_epoch8_ckpt.pt \ |
| 51 | +&& wget -O rfdiffusion-repo-clone/models/Complex_beta_ckpt.pt http://files.ipd.uw.edu/pub/RFdiffusion/f572d396fae9206628714fb2ce00f72e/Complex_beta_ckpt.pt \ |
| 52 | +&& wget -O rfdiffusion-repo-clone/models/RF_structure_prediction_weights.pt http://files.ipd.uw.edu/pub/RFdiffusion/1befcb9b28e2f778f53d47f18b7597fa/RF_structure_prediction_weights.pt \ |
| 53 | +""" |
| 54 | + |
| 55 | +[tasks.execute] |
| 56 | +args = ["args"] |
| 57 | +cmd = "python scripts/run_inference.py {{args}}" |
| 58 | +cwd = "rfdiffusion-repo-clone" |
0 commit comments