Asynchronous Execution of Python Code on Task Based Runtime Systems

R. Tohid, Bibek Wagle, Shahrzad Shirzad, Patrick Diehl, Adrian Serio +7 more
10/17/2018
cs.PL

Official code: STEllAR-GROUP/phylanx (75 stars, C++, BSL-1.0, last commit 2026-10-30).

Abstract

Despite advancements in the areas of parallel and distributed computing, the complexity of programming on High Performance Computing (HPC) resources has deterred many domain experts, especially in the areas of machine learning and artificial intelligence (AI), from utilizing performance benefits of such systems. Researchers and scientists favor high-productivity languages to avoid the inconvenience of programming in low-level languages and costs of acquiring the necessary skills required for programming at this level.

Show full abstract

In recent years, Python, with the support of linear algebra libraries like NumPy, has gained popularity despite facing limitations which prevent this code from distributed runs. Here we present a solution which maintains both high level programming abstractions as well as parallel and distributed efficiency. Phylanx, is an asynchronous array processing toolkit which transforms Python and NumPy operations into code which can be executed in parallel on HPC resources by mapping Python and NumPy functions and variables into a dependency tree executed by HPX, a general purpose, parallel, task-based runtime system written in C++. Phylanx additionally provides introspection and visualization capabilities for debugging and performance analysis. We have tested the foundations of our approach by comparing our implementation of widely used machine learning algorithms to accepted NumPy standards.

View on arXivView PDF

Code Implementations(1)

BSL-1.0

An Asynchronous Distributed C++ Array Processing Toolkit

7539C++, PythonAug 25, 20171 months agoBSL-1.0
array-processingc-plus-pluscppdistributeddistributed-computing+1 more

Similar Papers

Cite this paper

@article{tohid2018asynchronous,
  title  = {Asynchronous Execution of Python Code on Task Based Runtime Systems},
  author = {R. Tohid and Bibek Wagle and Shahrzad Shirzad and Patrick Diehl and Adrian Serio and Alireza Kheirkhahan and Parsa Amini and Katy Williams and Kate Isaacs and Kevin Huck and Steven Brandt and Hartmut Kaiser},
  year   = {2018},
  eprint = {1810.07591},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.07591}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1810.07591.svg)](https://codeofpaper.com/paper/1810.07591)

Discussion