You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced conda environment YAMLs and pip requirements for CUDA 12.1 and 12.4 support in the 'envs' directory. Updated installation documentation to guide users on using these files and troubleshooting environment setup. Minor README correction for pipeline argument.
in the directory that you are running the image file from.
112
112
113
-
This runs only the design stage of the pipeline. In order to continue through sequence-fitting with [LigandMPNN](https://github.com/dauparas/LigandMPNN) and folding with [Chai1](https://github.com/chaidiscovery/chai-lab), pass the command line argument: `stop_step=''`. Note that Chai1 cannot run on all GPU architectures.
113
+
This runs only the design stage of the pipeline. In order to continue through sequence-fitting with [LigandMPNN](https://github.com/dauparas/LigandMPNN) and folding with [Chai1](https://github.com/chaidiscovery/chai-lab), pass the command line argument: `stop_step='end'`. Note that Chai1 cannot run on all GPU architectures.
114
114
115
115
Pipeline runs can be resumed by passing `outdir=/path/to/your/output/directory`.
Copy file name to clipboardExpand all lines: doc/source/installation.md
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,38 @@ solution.
30
30
</details>
31
31
32
32
33
-
## Installation from Source
33
+
## Creating Your Own Environment
34
+
You do not need to install RFdiffusion2 itself, but you do need to install several dependencies to be able to use the Python scripts that will run the inference calculations.
35
+
This is what the Apptainer image above supplies, an environment where the dependencies required by RFdiffusion2 have already been installed.
36
+
If this container works on your computing system, we highly recommend using it.
37
+
38
+
However, if you need to set up your own environment, the instructions below should help you determine the dependency versions you need to get RFdiffusion2 running on your system.
39
+
40
+
### Using Provided Environment Files
41
+
We have created a few environment files to automatically generate a conda environment that will allow RFdiffusion2 to run.
42
+
> Note: Due to variations in GPU types and drivers, we are not able to guarantee that any of the provided environment files successfully install all the required dependencies. See the section below if none of the provided environment files are appropriate for your computing system.
43
+
44
+
You can find the prepared environment files in the `envs` directory
45
+
-`cuda121_env.yml` - This is appropriate for systems able to run CUDA 12.1 and PyTorch 2.4.0
46
+
- This uses requirements_cuda121.txt to install dependencies via `pip`
47
+
-`cuda124_env.yml` - This is appropriate for systems able to run CUDA 12.4 and PyTorch 2.4.0
48
+
- This uses requirements_cuda124.txt to install dependencies via `pip`
49
+
50
+
If you have trouble with these files but they *should* work based on your system specifications here are a few things to try:
51
+
1. Separate the creation of the environment and the installation of dependencies via pip:
52
+
1. Remove the last two lines from the above `.yml` files
53
+
2.
54
+
```
55
+
conda env create -f cuda121_env.yml
56
+
conda activate rfd2_env
57
+
pip install -r requirements_121.txt
58
+
```
59
+
This will force the dependencies you want installed by CUDA to be installed before pip is used.
60
+
2. Check to make sure the python that is being referenced is the one from your conda environment once it is activated. On clusters different modules you have imported might overrule the python in your conda environment. You can either manually give the path to your Python or change your system settings or environment variables to prefer the environment's python installation.
61
+
3. You can try to install any dependencies that pip hangs on using CUDA instead of pip.
62
+
If you have created an environment file that runs RFdiffusion for a different CUDA version or other dependency versions, create a PR to add it to the `envs` directory.
63
+
64
+
### Creating the Environment Manually
34
65
Some of the dependencies listed below will vary based on your system, especially the version of CUDA available on your cluster.
35
66
You will likely need to change some of the versions of the tools below to successfully install RFdiffusion2.
36
67
The instructions below are for CUDA 12.4 and PyTorch 2.4.
@@ -104,6 +135,7 @@ For some useful troubleshooting tips, see the [Troubleshooting](#install_trouble
0 commit comments