paper-with-me

홈 › Papers

Optimized Sparse Matrix Operations for Reverse Mode Automatic Differentiation

2022-12-10 · Nicolas Nytko, Ali Taghibakhshi, Tareq Uz Zaman, Scott MacLachlan, Luke N. Olson, Matt West

Sparse matrix representations are ubiquitous in computational science and machine learning, leading to significant reductions in compute time, in comparison to dense representation, for problems that have local connectivity. The adoption of sparse representation in leading ML frameworks such as PyTorch is incomplete, however, with support for both automatic differentiation and GPU acceleration missing. In this work, we present an implementation of a CSR-based sparse matrix wrapper for PyTorch with CUDA acceleration for basic matrix operations, as well as automatic differentiability. We also present several applications of the resulting sparse kernels to optimization problems, demonstrating ease of implementation and performance measurements versus their dense counterparts.

📄 PDF Abstract BibTeX arXiv:2212.05159

Code (1)

nicknytko/numml 공식 구현 pytorch

Tasks

GPU

Similar Papers 제목 키워드 기반

Performance Optimization of Deep Learning Sparse Matrix Kernels on Intel Max Series GPU

2023-11-01 · Mohammad Zubair, Christoph Bauinger

In this paper, we focus on three sparse matrix operations that are relevant for machine learning applications, namely, the sparse-dense matrix multiplication (SPMM), the sampled dense-dense matrix multiplication (SDDMM),…

GPU

Fused3S: Fast Sparse Attention on Tensor Cores

2025-05-12 · Zitong Li, Aparna Chandramowlishwaran

Sparse attention is a core building block in many leading neural network models, from graph-structured learning to sparse sequence modeling. It can be decomposed into a sequence of three sparse matrix operations (3S): sa…

GPU

Efficient Quantized Sparse Matrix Operations on Tensor Cores

2022-09-14 · Shigang Li, Kazuki Osawa, Torsten Hoefler

The exponentially growing model size drives the continued success of deep learning, but it brings prohibitive computation and memory cost. From the algorithm perspective, model sparsification and quantization have been s…

GPUQuantization

iSpLib: A Library for Accelerating Graph Neural Networks using Auto-tuned Sparse Operations

2024-03-21 · Md Saidul Hoque Anik, Pranav Badhe, Rohit Gampa, Ariful Azad

Core computations in Graph Neural Network (GNN) training and inference are often mapped to sparse matrix operations such as sparse-dense matrix multiplication (SpMM). These sparse operations are harder to optimize by man…

CPUGraph Neural Network

Differentiate Everything with a Reversible Domain-Specific Language

2020-09-28 · JinGuo Liu, Taine Zhao

Reverse-mode automatic differentiation (AD) suffers from the issue of having too much space overhead to trace back intermediate computational states for backpropagation. The traditional method to trace back states is cal…

GPU