Skip to navigation

Performance Benchmarks for AlphaFold2

View as MarkdownOpen in Claude

The AlphaFold2 NIM has been tuned to improve performance. However, the Multiple Sequence Alignment (MSA) and structure prediction processes are still computationally expensive. Performance varies significantly depending on:

  • Which NVIDIA GPUs are attached and available to the NIM
  • How many CPU cores are available to the NIM
  • The speed of the Solid State Drive (SSD) available to the NIM
  • The parameters used to configure the NIM at runtime.

The following performance expectations are not meant to be indicative of guaranteed performance, and performance on your system will vary from these values. Supported hardware is in Prerequisites.

Benchmark Results

The following results help you understand the throughput and runtime you can expect for common deployment scenarios. Actual performance may vary based on hardware configuration, input sequence, and other factors.

We recommend the following system configuration:

  • At least 1x NVIDIA A100 GPU
  • At least 1.3 Terabytes (1,300 Gigabytes) of available SSD storage (preferably NVMe gen4 or later with a speed of more than 3,500 MB/s)
  • At least 24 CPU cores (physical cores)
  • An internet connection with a download speed of at least 200 Mbps to download the AlphaFold2 model and databases.

Performance by Configuration

In general, expect the following performance by configuration.

ConfigurationGPUCPU coresRAMExpected performance
BestA10064 or more180 GB or moreSequences up to 3,000 amino acids should succeed, but the NIM may take several hours to run. Fastest MSA configuration.
GoodA10032 or more128 GB or moreSimilar speed to Best, with more limited MSA performance. Use fewer runners per MSA and fewer cores per MSA (refer to Sequence to MSA).
GoodL40S32 or more128 GB or moreReduced structure prediction speed compared to A100. Similar MSA performance to using the same number of cores with an A100 GPU.
Minimum (poor experience)NVIDIA CUDA GPU with 32 GB or more of VRAM12 or more64 GB or moreShort sequences run, but sequences longer than 600 amino acids might fail in MSA or structure prediction. MSA is very slow; set the number of MSA runners to 1 (refer to Sequence to MSA).

Expected Runtime

MSA runtime for short sequences can vary dramatically, but generally runtime scales linearly with sequence length. For sequences with many hits in the database (that is, sequences with motifs observed in many other proteins), the MSA runtime can grow significantly regardless of sequence length. In general, expect MSA to take between one minute and six hours per query.

The time required for structure prediction grows exponentially with sequence length. As a rule of thumb, a sequence that is twice as long takes at least four times as long during the structure prediction phase. In general, expect the structure prediction component to take between four minutes and 24 hours.

These are not exact numbers, and performance varies significantly between machines and input sequences.

Performance Best Practices

The following best practices help you tune AlphaFold2 NIM performance.

Sequence to MSA

Apply the following practices to speed up MSA generation:

  • MSA performance is largely dependent on disk speed and CPU cores. Make sure your NIM cache is on a fast SSD, and that you have allocated at least 24 cores to the NIM. Refer to Configuring the NIM at Runtime for details.
  • Use the mmseqs2 algorithm for Multiple Sequence Alignment. This algorithm produces similar results but is significantly faster (particularly with longer sequence lengths). Send "algorithm": "mmseqs2" in the JSON request body.
  • Increase the threads used per MSA process. This can be done using the NIM_PARALLEL_THREADS_PER_MSA environment variable. Refer to Configuring the NIM at Runtime for details.
  • Increase the number of concurrent MSA processes. This can be done using the NIM_PARALLEL_MSA_RUNNERS environment variable. Refer to Configuring the NIM at Runtime for details.

Start with the default of three runners. Do not use more than four.

MSA to Structure and Sequence to Structure

Apply the following practice to speed up structure prediction:

  • Structure prediction performance is mostly dependent on GPU capability. If you find structure prediction to be a bottleneck, consider a GPU with more compute and memory (for example, an A100 instead of an A30).

Explore the following related topics: