在GROMACS中启用AI深势能以实现ab initio质量的分子动力学模拟
Enabling AI Deep Potentials for Ab Initio-quality Molecular Dynamics Simulations in GROMACS
AI总结:
本研究在GROMACS中集成AI深势能,通过对比DPA2和DPA3的性能,发现DPA2在GPU上具有更高的吞吐量,同时识别了优化AI深势能在生产MD模拟中的关键因素。
摘要:
最先进的AI深势能能够提供ab initio质量的结果,但其计算成本仅为第一性原理量子力学计算(如密度泛函理论)的分数。在本工作中,我们通过将DeePMD-kit集成到GROMACS中,将AI深势能引入到生产级分子动力学(MD)代码中。特别是,我们通过将GROMACS神经网络势能与DeePMD-kit中的C++/CUDA后端耦合,实现了跨多个DP模型家族和DL后端的AI深势能推断。我们使用四个ab initio质量的蛋白质-水基准(1YRF,1UBQ,3LZM,2PTC)在NVIDIA A100和GH200 GPU上评估了两种最近的大型原子模型架构,DPA2基于注意力机制,DPA3基于GNN。我们的结果表明,DPA2在A100和GH200 GPU上分别比DPA3的吞吐量高4.23倍和3.18倍。我们还提供了一项特征研究,进一步对比DPA2和DPA3在吞吐量、内存使用和GPU内核级执行方面的差异。我们的发现将内核启动开销和领域分解推断确定为生产MD模拟中AI深势能的主要优化优先事项。
英文摘要:
State-of-the-art AI deep potentials provide ab initio-quality results, but at a fraction of the computational cost of first-principles quantum mechanical calculations, such as density functional theory. In this work, we bring AI deep potentials into GROMACS, a production-level Molecular Dynamics (MD) code, by integrating with DeePMD-kit that provides domain-specific deep learning (DL) models of interatomic potential energy and force fields. In particular, we enable AI deep potentials inference across multiple DP model families and DL backends by coupling GROMACS Neural Network Potentials with the C++/CUDA backend in DeePMD-kit. We evaluate two recent large-atom-model architectures, DPA2 that is based on the attention mechanism and DPA3 that is based on GNN, in GROMACS using four ab initio-quality protein-in-water benchmarks (1YRF, 1UBQ, 3LZM, 2PTC) on NVIDIA A100 and GH200 GPUs. Our results show that DPA2 delivers up to 4.23x and 3.18x higher throughput than DPA3 on A100 and GH200 GPUs, respectively. We also provide a characterization study to further contrast DPA2 and DPA3 in throughput, memory usage, and kernel-level execution on GPUs. Our findings identify kernel-launch overhead and domain-decomposed inference as the main optimization priorities for AI deep potentials in production MD simulations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。