numpywren: serverless linear algebra
Not on the map. Why?
Abstract (arXiv)
Linear algebra operations are widely used in scientific computing and machine learning applications. However, it is challenging for scientists and data analysts to run linear algebra at scales beyond a single machine. Traditional approaches either require access to supercomputing clusters, or impose configuration and cluster management challenges. In this paper we show how the disaggregation of storage and compute resources in so-called "serverless" environments, combined with compute-intensive workload characteristics, can be exploited to achieve elastic scalability and ease of management. We present numpywren, a system for linear algebra built on a serverless architecture. We also introduce LAmbdaPACK, a domain-specific language designed to implement highly parallel linear algebra algorithms in a serverless setting. We show that, for certain linear algebra algorithms such as matrix multiply, singular value decomposition, and Cholesky decomposition, numpywren's performance (completion time) is within 33% of ScaLAPACK, and its compute efficiency (total CPU-hours) is up to 240% better due to elasticity, while providing an easier to use interface and better fault tolerance. At the same time, we show that the inability of serverless runtimes to exploit locality across the cores in a machine fundamentally limits their network efficiency, which limits performance on other algorithms such as QR factorization. This highlights how cloud providers could better support these types of computations through small changes in their infrastructure.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Oct 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 1.
4 papers.
- 2021Interpolating Classifiers Make Few Mistakescited by 22
- 2021Towards Demystifying Serverless Machine Learning Trainingcited by 16
- 2021Serverless Data Science -- Are We There Yet? A Case Study of Model Servingcited by 3
- 2022SciAI4Industry -- Solving PDEs for industry-scale problems with deep learningcited by 2
- 2022SciAI4Industry -- Solving PDEs for industry-scale problems with deep learning23 Nov 2022
- 2021Towards Demystifying Serverless Machine Learning Training17 May 2021
- 2021Serverless Data Science -- Are We There Yet? A Case Study of Model Serving4 Mar 2021
- 2021Interpolating Classifiers Make Few Mistakes28 Jan 2021