FastFold:将AlphaFold培训时间从11天缩短至67小时
FastFold: Reducing AlphaFold Training Time from 11 Days to 67 Hours
摘要:
蛋白质结构预测有助于理解基因翻译和蛋白质功能,在结构生物学中越来越受到关注和重视。AlphaFold模型使用Transformer架构实现了蛋白质结构预测的原子级精度,是一个重大突破。然而,AlphaFold模型的训练和推理由于其高计算和内存成本而具有挑战性。在这项工作中,我们提出了FastFold,这是AlphaFold用于训练和推理的有效实现。我们提出动态轴向并行和对偶异步操作来提高模型并行的缩放效率。此外,AutoChunk通过自动确定块策略,在推理过程中减少了80%以上的内存开销。实验结果表明,FastFold将整体训练时间从11天减少到67小时,并在长序列推理方面实现了7.5X - 9.5X的加速。此外,我们将FastFold扩展到512个GPU,并实现了6.02 PetaFLOP/s的总吞吐量和90.1%的并行效率。
英文摘要:
Protein structure prediction helps to understand gene translation and protein function, which is of growing interest and importance in structural biology. The AlphaFold model, which used transformer architecture to achieve atomic-level accuracy in protein structure prediction, was a significant breakthrough. However, training and inference of the AlphaFold model are challenging due to its high computation and memory cost. In this work, we present FastFold, an efficient implementation of AlphaFold for both training and inference. We propose Dynamic Axial Parallelism and Duality Async Operations to improve the scaling efficiency of model parallelism. Besides, AutoChunk is proposed to reduce memory cost by over 80% during inference by automatically determining the chunk strategy. Experimental results show that FastFold reduces overall training time from 11 days to 67 hours and achieves 7.5X - 9.5X speedup for long-sequence inference. Furthermore, we scale FastFold to 512 GPUs and achieve an aggregate throughput of 6.02 PetaFLOP/s with 90.1% parallel efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。