SC19 Proceedings

The International Conference for High Performance Computing, Networking, Storage, and Analysis

Legate NumPy: Accelerated and Distributed Array Computing


Authors: Michael Bauer (Nvidia Corporation), Michael Garland (Nvidia Corporation)

Abstract: NumPy is a popular Python library used for performing array-based numerical computations. The canonical implementation of NumPy used by most programmers runs on a single CPU core and is parallelized to use multiple cores for some operations. This restriction to a single-node CPU-only execution limits both the size of data that can be handled and the potential speed of NumPy code. In this work, we introduce Legate, a drop-in replacement for NumPy that requires only a single-line code change and can scale up to an arbitrary number of GPU accelerated nodes. Legate works by translating NumPy programs to the Legion programming model and then leverages the scalability of the Legion runtime system to distribute data and computations across an arbitrary sized machine. Compared to similar programs written in the distributed Dask array library in Python, Legate achieves speed-ups of up to 10x on 1280 CPUs and 100x on 256 GPUs.


Presentation: file


Back to Technical Papers Archive Listing