MarkTechPost@AI 04月10日 05:15
TorchSim: A Next-Generation PyTorch-Native Atomistic Simulation Engine for the MLIP Era
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

TorchSim是一款由Radical AI开发的、基于PyTorch的下一代原子模拟引擎,旨在加速材料科学研究。它实现了数量级的加速,颠覆了传统的科研模式。通过与自驱动实验室的集成,TorchSim能够实现材料特性与模拟之间的实时关联,从而使单个科学家能够同时处理多个挑战。该引擎提供了用户友好的API,支持多种模拟类型,并与现有的材料软件和机器学习库集成。作为开放源代码软件,TorchSim是Radical AI材料飞轮生态系统的一部分,致力于加速材料开发。

🚀 TorchSim在PyTorch中实现了原子模拟的变革,与ASE相比加速100倍,与DFT相比加速1亿倍。

⚙️ TorchSim通过提供三个主要“运行器”功能简化了原子模拟:integrate(分子动力学)、optimize(弛豫)和static(静态评估)。这些功能共享相似的签名,支持自动批处理、轨迹报告和多种模型。

🧠 TorchSim解决了在批处理操作期间有效利用GPU内存的复杂挑战。它动态确定模型内存需求,并优化模拟安排,以最大限度地利用可用内存。

💾 TorchSim引入了一种新的轨迹格式,设计用于与其批处理状态系统原生集成,支持各种属性的二进制编码和实时压缩。

🤝 TorchSim作为实验性库欢迎社区反馈,贡献者需要签署Radical AI的贡献者许可协议(CLA)。所有代码提交都必须经过项目维护者的强制审查。

Radical AI has released TorchSim, a next-generation PyTorch-native atomistic simulation engine for the MLIP era. It accelerates materials simulation by orders of magnitude, transforming traditional scientific approaches. Current materials research requires large teams focused on single problems, resulting in slow progress and high costs. Radical AI aims to revolutionize this paradigm by enabling individual scientists to tackle multiple challenges simultaneously through AI and autonomous systems. TorchSim serves as the first public demonstration of this scientific approach, which allows real-time correlation between measured material properties and simulations at an unprecedented scale when integrated with self-driving laboratories.

TorchSim transforms atomistic simulation within PyTorch, delivering 100 times speedup compared to ASE and 100,000,000 times acceleration over DFT. TorchSim reimplements the most popular molecular dynamics and optimization algorithms, including NVE, NVT, NPT, gradient descent, and Frechet cell FIRE, while offering a user-friendly API with trajectory reporting, automatic memory management, and integration with established materials software and machine learning libraries. Radical AI released TorchSim as open-source software while maintaining it as one component of their Materials Flywheel ecosystem. The company aims to supply advanced materials to critical industries while accelerating materials development through this simulation revolution.

TorchSim simplifies atomistic simulation through a comprehensive high-level API featuring three primary “runner” functions: integrate for molecular dynamics, optimize for relaxation, and static for static evaluation. These functions share similar signatures while supporting auto batching, trajectory reporting, diverse models, and compatibility with popular libraries. The framework accommodates various simulation types, including NVT/NPT integration and gradient descent/FIRE optimization methods. The SimState is the core atomistic representation for the TorchSim package, containing atoms, atomic numbers, cell data, and all necessary simulation elements. SimState uses PyTorch tensors as attributes and employs a batched structure capable of representing single or multiple systems simultaneously.

TorchSim addresses the complex challenge of efficient GPU memory utilization during batched operations. Different models require varying memory allocations for identical systems, while memory footprint scaling depends on neighbor list computation methods. For instance, MACE models scale with the product of atom count and number density, whereas Fairchem models scale only with atom count. TorchSim dynamically determines model memory requirements and optimally arranges simulations to maximize available memory utilization. This intelligent management works across molecular dynamics simulations and optimization processes, ensuring computational resources are used efficiently throughout different simulation types.

TorchSim introduces a novel trajectory format designed for native integration with its batched state system, supporting binary encoding of diverse properties and real-time compression. Despite recognizing the current abundance of trajectory formats, developers determined that creating a new format was necessary to fulfill project requirements. The resulting TorchSimTrajectory is built on HDF5 and works as an efficient container for arbitrary arrays with utilities optimized for atomistic simulation. It utilizes consistent binary encoding and compression across all properties, including temperature, forces, per-atom energies, and electric fields, enabling comprehensive and efficient data management.

TorchSim welcomes community feedback as an experimental library. Contributors must first sign Radical AI’s Contributor License Agreement (CLA), a one-time requirement covering all Radical AI open source projects. This agreement allows contributors to retain ownership of their work while granting Radical AI necessary usage rights. The CLA-bot automatically verifies signatures on pull requests. All code submissions undergo mandatory review by project maintainers before merging. Contributors should submit changes through GitHub pull requests, with even maintainers’ submissions requiring review from other maintainers. Prompt responses to feedback and requested changes are expected throughout the review process.


Check out the Technical Details and GitHub Page. All credit for this research goes to the researchers of this project. Also, feel free to follow us on Twitter and don’t forget to join our 85k+ ML SubReddit.

[Register Now] miniCON Virtual Conference on OPEN SOURCE AI: FREE REGISTRATION + Certificate of Attendance + 3 Hour Short Event (April 12, 9 am- 12 pm PST) + Hands on Workshop [Sponsored]

The post TorchSim: A Next-Generation PyTorch-Native Atomistic Simulation Engine for the MLIP Era appeared first on MarkTechPost.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

TorchSim PyTorch 原子模拟 人工智能 材料科学
相关文章