Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ FastFold provides a **high-performance implementation of Evoformer** with the fo

You will need Python 3.8 or later and [NVIDIA CUDA](https://developer.nvidia.com/cuda-downloads) 11.1 or above when you are installing from source.

```shell
git clone https://github.com/hpcaitech/FastFold
cd FastFold
```
We highly recommend installing an Anaconda or Miniconda environment and install PyTorch with conda:

```
```shell
conda env create --name=fastfold -f environment.yml
conda activate fastfold
bash scripts/patch_openmm.sh
Expand All @@ -34,8 +38,6 @@ bash scripts/patch_openmm.sh
You can get the FastFold source and install it with setuptools:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe till this line, I have got the source code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed


```shell
git clone https://github.com/hpcaitech/FastFold
cd FastFold
python setup.py install
```

Expand All @@ -56,6 +58,11 @@ from fastfold.distributed import init_dap
init_dap(args.dap_size)
```

### Download the dataset
You can down the dataset used to train FastFold by the script `download_all_data.sh`:

./scripts/download_all_data.sh data/

### Inference

You can use FastFold with `inject_fastnn`. This will replace the evoformer from OpenFold with the high performance evoformer from FastFold.
Expand Down
4 changes: 3 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ dependencies:
- typing-extensions==3.10.0.2
- einops
- colossalai
- pytorch::pytorch=1.11.0
- --find-links https://download.pytorch.org/whl/cu113/torch_stable.html torch==1.11.1+cu113
- --find-links https://download.pytorch.org/whl/cu113/torch_stable.html torchaudio==0.11.1+cu113
- --find-links https://download.pytorch.org/whl/cu113/torch_stable.html torchvision==0.13.1
- conda-forge::python=3.8
- conda-forge::setuptools=59.5.0
- conda-forge::pip
Expand Down
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
--find-links https://download.pytorch.org/whl/cu113/torch_stable.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is a way of installing fastfold to the current environment, remind it in readme.md

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

torch==1.12.1+cu113
torchaudio==0.12.1+cu113
torchvision==0.13.1
einops
colossalai
colossalai==0.1.8