OpenMM-Python-Force:在分子动力学模拟中部署加速的 Python 模块
OpenMM-Python-Force: Deploying Accelerated Python Modules in Molecular Dynamics Simulation
AI总结:
本文提出 OpenMM-Python-Force 插件,通过回调机制集成外部 Python 程序的能量与力计算,支持 torch.Tensor 和 numpy.ndarray 数据交换,实现了加速 Python 模块在分子动力学模拟中的无缝集成。
摘要:
我们提出了 OpenMM-Python-Force,这是一个旨在扩展 OpenMM 功能的插件,它通过回调机制实现了与外部 Python 程序的能量和力计算的集成。在分子动力学模拟期间,可以根据具体用例通过 torch.Tensor 或 numpy.ndarray 实现数据交换。这一增强显著扩展了 OpenMM 的功能,促进了加速 Python 模块在分子动力学模拟中的无缝集成。该方法代表了一种通用解决方案,可适配 OpenMM 之外的其他分子动力学引擎。源代码已在 https://github.com/bytedance/OpenMM-Python-Force 公开。
英文摘要:
We present OpenMM-Python-Force, a plugin designed to extend OpenMM's functionality by enabling integration of energy and force calculations from external Python programs via a callback mechanism. During molecular dynamics simulations, data exchange can be implemented through torch.Tensor or numpy.ndarray, depending on the specific use case. This enhancement significantly expands OpenMM's capabilities, facilitating seamless integration of accelerated Python modules within molecular dynamics simulations. This approach represents a general solution that can be adapted to other molecular dynamics engines beyond OpenMM. The source code is openly available at https://github.com/bytedance/OpenMM-Python-Force.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。