Legate NumPy
Authors:
Open Access
- 17 November 2019
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-23
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.Keywords
Funding Information
- Los Alamos National Laboratory
This publication has 10 references indexed in Scilit:
- Arkouda: interactive data exploration backed by Chapel2019
- Dynamic Tracing: Memoization of Task Graphs for Dynamic Task-Based Runtimes2018
- Integrating External Resources with a Task-Based Programming Model2017
- Control replication2017
- Dependent partitioning2016
- Numba2015
- Dask: Parallel Computation with Blocked algorithms and Task Scheduling2015
- Realm2014
- AUGEM2013
- Language support for dynamic, hierarchical data partitioning2013