-
Notifications
You must be signed in to change notification settings - Fork 8
AlphaFold 3 container docs #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Fix pagination Tony
apptainer shell -B /util:/util,/scratch:/scratch,/projects:/projects ./AlphaFold-3-$(arch).sif change the command to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This review includes grammar fixes and other minor adjustments. I'll test the Slurm scripts soon.
# Example AlphaFold 3 container | ||
|
||
NOTE: | ||
AlphaFold 3 requeres a model parameters file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AlphaFold 3 requeres a model parameters file. | |
AlphaFold 3 requires a model parameters file. |
|
||
3. Build your container | ||
|
||
Building the AlphaFold-3 container taks about half an hour |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Building the AlphaFold-3 container taks about half an hour | |
Building the AlphaFold-3 container takes about half an hour |
[AlphaFold 3 Slurm Data Pipeline example](https://raw.githubusercontent.com/tonykew/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_AlphaFold-3_Data_Pipeline_example.bash) | ||
[AlphaFold 3 Slurm Inference example](https://raw.githubusercontent.com/tonykew/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_AlphaFold-3_Inference_example.bash) | ||
|
||
### Grace Hopper (GH200) GPU example | ||
[AlphaFold 3 Slurm (x86_64) Data Pipeline example](https://raw.githubusercontent.com/tonykew/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_GH200_AlphaFold-3_Data_Pipeline_example.bash) | ||
[AlphaFold 3 Slurm Grace Hopper Inference example](https://raw.githubusercontent.com/tonykew/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_GH200_AlphaFold-3_Inference_example.bash) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[AlphaFold 3 Slurm Data Pipeline example](https://raw.githubusercontent.com/tonykew/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_AlphaFold-3_Data_Pipeline_example.bash) | |
[AlphaFold 3 Slurm Inference example](https://raw.githubusercontent.com/tonykew/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_AlphaFold-3_Inference_example.bash) | |
### Grace Hopper (GH200) GPU example | |
[AlphaFold 3 Slurm (x86_64) Data Pipeline example](https://raw.githubusercontent.com/tonykew/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_GH200_AlphaFold-3_Data_Pipeline_example.bash) | |
[AlphaFold 3 Slurm Grace Hopper Inference example](https://raw.githubusercontent.com/tonykew/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_GH200_AlphaFold-3_Inference_example.bash) | |
[AlphaFold 3 Slurm Data Pipeline example](https://raw.githubusercontent.com/ubccr/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_AlphaFold-3_Data_Pipeline_example.bash) | |
[AlphaFold 3 Slurm Inference example](https://raw.githubusercontent.com/ubccr/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_AlphaFold-3_Inference_example.bash) | |
### Grace Hopper (GH200) GPU example | |
[AlphaFold 3 Slurm (x86_64) Data Pipeline example](https://raw.githubusercontent.com/ubccr/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_GH200_AlphaFold-3_Data_Pipeline_example.bash) | |
[AlphaFold 3 Slurm Grace Hopper Inference example](https://raw.githubusercontent.com/ubccr/ccr-examples/refs/heads/AlphaFold-3/containers/2_ApplicationSpecific/AlphaFold-3/slurm_GH200_AlphaFold-3_Inference_example.bash) |
Copy the sample Slurm scripts "slurm_AlphaFold-3_Data_Pipeline_example.bash" | ||
and "slurm_AlphaFold-3_Inference_example.bash" to this directory then modify | ||
for your use case. | ||
|
||
You should change the SLURM cluster, partition, qos and account; then change | ||
the "[YourGroupName]" in the cd command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy the sample Slurm scripts "slurm_AlphaFold-3_Data_Pipeline_example.bash" | |
and "slurm_AlphaFold-3_Inference_example.bash" to this directory then modify | |
for your use case. | |
You should change the SLURM cluster, partition, qos and account; then change | |
the "[YourGroupName]" in the cd command: | |
Copy the sample Slurm scripts [slurm_AlphaFold-3_Data_Pipeline_example.bash](./slurm_AlphaFold-3_Data_Pipeline_example.bash) | |
and [slurm_AlphaFold-3_Inference_example.bash](./slurm_AlphaFold-3_Inference_example.bash) to this directory then modify | |
for your use case. | |
You should change the SLURM cluster, partition, qos and account; then change | |
the `[YourGroupName]` in the cd command. | |
Use the `slimits` command to see what accounts and QOS settings you have access to. |
Note that the partition/qos combination does not have to be the same for the | ||
Data Pipeline and Inference scripts. | ||
|
||
NOTE: You can add other Slurm options to eiher script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: You can add other Slurm options to eiher script. | |
NOTE: You can add other Slurm options to either script. |
> -rw-rw-r-- 1 [CCRusername] nogroup 7301275 Aug 1 11:12 ./af_output/2PV7/2PV7_data.json | ||
> ``` | ||
|
||
The "./af_output/2PV7" directory will be used as the input directory for the Inference run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "./af_output/2PV7" directory will be used as the input directory for the Inference run | |
The `./af_output/2PV7` directory will be used as the input directory for the Inference run |
> ``` | ||
|
||
|
||
Note from the about output the location of the AlphaFold run output files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note from the about output the location of the AlphaFold run output files | |
Note from the above output the location of the AlphaFold run output files |
cd /projects/academic/[YourGroupName]/AlphaFold-3 | ||
``` | ||
|
||
Then create the sample fold_input.json from [here](https://github.com/google-deepmind/alphafold3?tab=readme-ov-file#installation-and-running-your-first-prediction) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then create the sample fold_input.json from [here](https://github.com/google-deepmind/alphafold3?tab=readme-ov-file#installation-and-running-your-first-prediction) | |
Then create the sample `fold_input.json` from [here](https://github.com/google-deepmind/alphafold3?tab=readme-ov-file#installation-and-running-your-first-prediction) |
``` | ||
|
||
|
||
## Buid the ARM64 container image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Buid the ARM64 container image | |
## Build the ARM64 container image |
for ARM64 | ||
|
||
|
||
# Slurm batch job |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if level 1 heading is required here.
AlphaFold 3 container build & run examples.
Tony