FlowPM:FastPM宇宙学N体解算器的分布式TensorFlow实现
FlowPM: Distributed TensorFlow Implementation of the FastPM Cosmological N-body Solver
摘要:
我们提出了FlowPM,一个粒子网格(PM)宇宙学N体代码,在网格TensorFlow中实现GPU加速,分布式和可微模拟。我们实现和验证了一种新的多重网格计划的多分辨率金字塔的基础上,有效地计算大规模的力量在分布式平台上的准确性。我们探索了大型超级计算机上模拟的缩放,并将其与相应的基于Python的PM代码进行了比较,发现在wallclock时间方面平均加速了10倍。我们还演示了如何使用这种新的工具,可以有效地解决大规模的宇宙学推理问题,特别是重建的宇宙学领域的前向模型贝叶斯框架与混合PM和神经网络前向模型。我们提供了这些示例的框架代码,整个代码可以在https://github.com/modichirag/flowpm上公开获得。
英文摘要:
We present FlowPM, a Particle-Mesh (PM) cosmological N-body code implemented in Mesh-TensorFlow for GPU-accelerated, distributed, and differentiable simulations. We implement and validate the accuracy of a novel multi-grid scheme based on multiresolution pyramids to compute large scale forces efficiently on distributed platforms. We explore the scaling of the simulation on large-scale supercomputers and compare it with corresponding python based PM code, finding on an average 10x speed-up in terms of wallclock time. We also demonstrate how this novel tool can be used for efficiently solving large scale cosmological inference problems, in particular reconstruction of cosmological fields in a forward model Bayesian framework with hybrid PM and neural network forward model. We provide skeleton code for these examples and the entire code is publicly available at https://github.com/modichirag/flowpm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。