arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2107.02737physics.comp-phquant-ph
收藏

基于张量核的量子分子动力学模拟

Quantum-based Molecular Dynamics Simulations Using Tensor Cores

Joshua Finkelstein, Justin S. Smith, Susan M. Mniszewski, Kipton Barros, Christian F. A. Negre, Emanuel H. Rubensson, Anders M. N. Niklasson

摘要:

张量核以及张量处理单元代表了一种新形式的硬件加速,专门为人工智能应用中的深度神经网络计算而设计。张量核提供了非凡的计算速度和能效,但需要注意的是,它们是为仅使用低精度浮点运算的张量收缩(矩阵-矩阵乘法)而设计的。尽管如此,我们展示了如何张量核心可以应用于高效率的挑战性和数值敏感的问题,基于量子的玻恩-奥本海默分子动力学,这需要高度精确的电子结构优化和保守力的评价。原子间力是根据从广义深度神经网络获得的电子结构实时计算的,其中计算结构自然地利用了张量核心的卓越处理能力,并允许在单个Nvidia A100 GPU的张量核心上实现超过100 Tflops的高性能。稳定的分子动力学轨迹生成使用扩展的拉格朗日玻恩-奥本海默分子动力学,它结合了计算效率与长期稳定性的框架,即使当使用近似的电荷弛豫和力的评估是有限的精度由低精度张量核心浮点运算所造成的数值噪声条件。还提出了一种正则系综模拟方案,其中计算力中的额外数值噪声被吸收到类Langevin动力学中。

英文摘要:

Tensor cores, along with tensor processing units, represent a new form of hardware acceleration specifically designed for deep neural network calculations in artificial intelligence applications. Tensor cores provide extraordinary computational speed and energy efficiency, but with the caveat that they were designed for tensor contractions (matrix-matrix multiplications) using only low-precision floating point operations. In spite of this, we demonstrate how tensor cores can be applied with high efficiency to the challenging and numerically sensitive problem of quantum-based Born-Oppenheimer molecular dynamics, which requires highly accurate electronic structure optimizations and conservative force evaluations. The interatomic forces are calculated on-the-fly from an electronic structure that is obtained from a generalized deep neural network, where the computational structure naturally takes advantage of the exceptional processing power of the tensor cores and allows for high performance in excess of 100 Tflops on the tensor cores of a single Nvidia A100 GPU. Stable molecular dynamics trajectories are generated using the framework of extended Lagrangian Born-Oppenheimer molecular dynamics, which combines computational efficiency with long-term stability, even when using approximate charge relaxations and force evaluations that are limited in accuracy by the numerically noisy conditions caused by the low precision tensor core floating-point operations. A canonical ensemble simulation scheme is also presented, where the additional numerical noise in the calculated forces is absorbed into a Langevin-like dynamics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑