arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.00555cs.PLcs.DCcs.PF
收藏

生产力、可移植性、性能:以数据为中心的Python

Productivity, Portability, Performance: Data-Centric Python

Alexandros Nikolaos Ziogas, Timo Schneider, Tal Ben-Nun, Alexandru Calotoiu, Tiziano De Matteis, Johannes de Fine Licht, Luca Lavarini, Torsten Hoefler

摘要:

Python已经成为事实上的科学计算语言。用Python编程是非常高效的,主要是因为它围绕NumPy模块构建了丰富的面向科学的软件生态系统。因此,高性能计算(HPC)中对Python支持的需求激增。然而,Python语言本身并不一定提供高性能。在这项工作中,我们提出了一个工作流程,保留Python的高生产力,同时实现跨不同架构的可移植性能。该工作流的关键特性是面向HPC的语言扩展和一组由以数据为中心的中间表示提供支持的自动优化。我们展示了CPU、GPU、FPGA和Piz Daint超级计算机(最多23,328个核心)的性能结果和扩展能力,与之前的最佳解决方案相比,速度提升了2.47倍和3.75倍,是Xilinx和Intel FPGA首次对注释Python进行测试,在512个节点上的扩展效率高达93.16%。

英文摘要:

Python has become the de facto language for scientific computing. Programming in Python is highly productive, mainly due to its rich science-oriented software ecosystem built around the NumPy module. As a result, the demand for Python support in High Performance Computing (HPC) has skyrocketed. However, the Python language itself does not necessarily offer high performance. In this work, we present a workflow that retains Python's high productivity while achieving portable performance across different architectures. The workflow's key features are HPC-oriented language extensions and a set of automatic optimizations powered by a data-centric intermediate representation. We show performance results and scaling across CPU, GPU, FPGA, and the Piz Daint supercomputer (up to 23,328 cores), with 2.47x and 3.75x speedups over previous-best solutions, first-ever Xilinx and Intel FPGA results of annotated Python, and up to 93.16% scaling efficiency on 512 nodes.

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

↑