paper-with-me

홈 › Papers

Optimizing Sparse Linear Algebra Through Automatic Format Selection and Machine Learning

2023-03-09 · Christodoulos Stylianou, Michele Weiland

Sparse matrices are an integral part of scientific simulations. As hardware evolves new sparse matrix storage formats are proposed aiming to exploit optimizations specific to the new hardware. In the era of heterogeneous computing, users often are required to use multiple formats for their applications to remain optimal across the different available hardware, resulting in larger development times and maintenance overhead. A potential solution to this problem is the use of a lightweight auto-tuner driven by Machine Learning (ML) that would select for the user an optimal format from a pool of available formats that will match the characteristics of the sparsity pattern, target hardware and operation to execute. In this paper, we introduce Morpheus-Oracle, a library that provides a lightweight ML auto-tuner capable of accurately predicting the optimal format across multiple backends, targeting the major HPC architectures aiming to eliminate any format selection input by the end-user. From more than 2000 real-life matrices, we achieve an average classification accuracy and balanced accuracy of 92.63% and 80.22% respectively across the available systems. The adoption of the auto-tuner results in average speedup of 1.1x on CPUs and 1.5x to 8x on NVIDIA and AMD GPUs, with maximum speedups reaching up to 7x and 1000x respectively.

📄 PDF Abstract BibTeX arXiv:2303.05098

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

Compressing Structured Tensor Algebra

2024-07-18 · Mahdi Ghorbani, Emilien Bauer, Tobias Grosser, Amir Shaikhha

Tensor algebra is a crucial component for data-intensive workloads such as machine learning and scientific computing. As the complexity of data grows, scientists often encounter a dilemma between the highly specialized d…

Code Generationtensor algebra

torch-sla: Differentiable Sparse Linear Algebra with Adjoint Solvers and Sparse Tensor Parallelism for PyTorch

2026-01-20 · Mingyuan Chi, Shizheng Wen arxiv

Differentiable sparse linear algebra is foundational for scientific machine learning, yet PyTorch lacks a unified library for it: torch.sparse provides only low-level kernels and a non-differentiable, CPU-only spsolve, a…

Optimizing the Memory Hierarchy by Compositing Automatic Transformations on Computations and Data

2020-11-11 · 53rd Annual IEEE/ACM International Symposium on Microarchitecture (MICRO) 2020 11 · Jie Zhao, Peng Di

Optimizing compilers exploit the memory hierarchy using loop tiling and fusion, but these two transformations usually interfere with each other due to the oversight of transformations on data in memories. We present a no…

CPUGPU

Advanced Linear Algebra with Applications - Part I (Numerical linear algebra for PDEs, machine learning, and data assimilation)

2026-08-21 · Victorita Dolean, Jemima Tabeart arxiv

These lecture notes form the first part of a master's-level course on advanced numerical linear algebra. Their aim is not only to present the classical algorithms, but to show why the subject has become considerably more…

CoLA: Exploiting Compositional Structure for Automatic and Efficient Numerical Linear Algebra

2023-09-06 · NeurIPS 2023 11 · Andres Potapczynski, Marc Finzi, Geoff Pleiss, Andrew Gordon Wilson

Many areas of machine learning and science involve large linear algebra problems, such as eigendecompositions, solving linear systems, computing matrix exponentials, and trace estimation. The matrices involved often have…

CoLAGaussian ProcessesGPU