arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.06835cs.DCcs.MScs.NAmath.NA
收藏

多GPU平台上微分方程的自动翻译与加速求解

Automated Translation and Accelerated Solving of Differential Equations on Multiple GPU Platforms

Utkarsh Utkarsh, Valentin Churavy, Yingbo Ma, Tim Besard, Prakitr Srisuma, Tim Gymnich, Adam R. Gerlach, Alan Edelman, George Barbastathis, Richard D. Braatz, C… 展开作者

Utkarsh Utkarsh, Valentin Churavy, Yingbo Ma, Tim Besard, Prakitr Srisuma, Tim Gymnich, Adam R. Gerlach, Alan Edelman, George Barbastathis, Richard D. Braatz, Christopher Rackauckas

AI总结:

该方法实现GPU上ODE和SDE集合的高效并行求解,无需用户改码,性能优于JAX和PyTorch的vmap方法,并支持多GPU及多种GPU架构。

摘要:

我们展示了一种高性能、供应商无关的方法,用于在GPU上大规模并行求解常微分方程(ODE)和随机微分方程(SDE)的集合。该方法集成于一个高级语言中广泛使用的微分方程求解器库(Julia的DifferentialEquations.jl),并能在无需用户修改代码的情况下实现GPU加速。与手工优化的CUDA-C++内核相比,我们的方法达到了最先进的性能,同时比JAX和PyTorch中实现的向量化映射(vmap)方法快20至100倍。在NVIDIA、AMD、Intel和Apple GPU上的性能评估证明了性能可移植性和供应商无关性。我们展示了与MPI的组合性,以支持分布式多GPU工作流。所实现的求解器功能完备——支持事件处理、自动微分以及通过GPU纹理内存整合数据集——使科学家能够在所有当前主要架构上利用GPU加速,而无需更改其模型代码且不损失性能。我们将该软件作为开源库分发,网址为https://github.com/SciML/DiffEqGPU.jl。

英文摘要:

We demonstrate a high-performance vendor-agnostic method for massively parallel solving of ensembles of ordinary differential equations (ODEs) and stochastic differential equations (SDEs) on GPUs. The method is integrated with a widely used differential equation solver library in a high-level language (Julia's DifferentialEquations.jl) and enables GPU acceleration without requiring code changes by the user. Our approach achieves state-of-the-art performance compared to hand-optimized CUDA-C++ kernels while performing 20--100$\times$ faster than the vectorizing map (vmap) approach implemented in JAX and PyTorch. Performance evaluation on NVIDIA, AMD, Intel, and Apple GPUs demonstrates performance portability and vendor-agnosticism. We show composability with MPI to enable distributed multi-GPU workflows. The implemented solvers are fully featured -- supporting event handling, automatic differentiation, and incorporation of datasets via the GPU's texture memory -- allowing scientists to take advantage of GPU acceleration on all major current architectures without changing their model code and without loss of performance. We distribute the software as an open-source library https://github.com/SciML/DiffEqGPU.jl

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

↑