JetSCI: 一种混合JAX-PETSc框架用于可扩展的可微模拟
JetSCI: A Hybrid JAX-PETSc Framework for Scalable Differentiable Simulation
AI总结:
JetSCI结合JAX和PETSc的优势,通过GPU并行可微离散化和分布式内存架构的MPI并行,提升异质微力学问题的效率和精度。
摘要:
科学机器学习(SciML)的迅速发展扩大了可微建模、代理建模和数据驱动本构定律在大规模模拟中的作用。JAX框架通过自动可微程序、向量化、GPU加速等提供了吸引人的环境,但大规模模拟仍依赖成熟的HPC基础设施。库如PETSc提供可扩展的MPI并行、稳健的线性和非线性求解器以及先进的预条件能力,这些在仅使用JAX的工作流中难以复现。我们提出了JetSCI,一种混合JAX-PETSc框架,统一了这些互补的优势。JetSCI使用JAX进行GPU并行的可微离散化,使用PETSc在分布式内存架构上稳健地求解由此产生的系统,通过节点内的GPU加速暴露多级并行性,并通过节点间的MPI并行性实现跨节点并行。对于异质微力学问题的有限元离散化,JetSCI在效率和精度上优于仅使用JAX的实现。
英文摘要:
The rapid rise of scientific machine learning (SciML) has expanded the role of differentiable modeling, surrogate modeling, and data-driven constitutive laws in large-scale simulation. The JAX framework provides an attractive environment for these workflows through automatically differentiable programs, vectorization, GPU acceleration, and while enabling seamless learning of surrogate models. However, large-scale simulation still relies on mature HPC infrastructure. Libraries, such as PETSc, provide scalable MPI-based parallelism, robust linear and nonlinear solvers, and advanced preconditioning capabilities that remain difficult to reproduce in JAX-only workflows. We present JetSCI, a hybrid JAX-PETSc framework that unifies these complementary strengths. JetSCI uses JAX for GPU-parallel differentiable discretizations and PETSc for robust, scalable solution of the resulting systems on distributed-memory architectures, exposing multilevel parallelism through GPU acceleration within nodes and MPI parallelism across nodes. For finite element discretizations of heterogeneous micromechanics problems, JetSCI outperforms JAX-only implementations in efficiency and accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。