paper-with-me

Papers

PopSparse: Accelerated block sparse matrix multiplication on IPU

2023-03-29 · Zhiyi Li, Douglas Orr, Valeriu Ohan, Godfrey Da Costa, Tom Murray, Adam Sanders, Deniz Beker, Dominic Masters

Reducing the computational cost of running large scale neural networks using sparsity has attracted great attention in the deep learning community. While much success has been achieved in reducing FLOP and parameter counts while maintaining acceptable task performance, achieving actual speed improvements has typically been much more difficult, particularly on general purpose accelerators (GPAs) such as NVIDIA GPUs using low precision number formats. In this work we introduce PopSparse, a library that enables fast sparse operations on Graphcore IPUs by leveraging both the unique hardware characteristics of IPUs as well as any block structure defined in the data. We target two different types of sparsity: static, where the sparsity pattern is fixed at compile-time; and dynamic, where it can change each time the model is run. We present benchmark results for matrix multiplication for both of these modes on IPU with a range of block sizes, matrix sizes and densities. Results indicate that the PopSparse implementations are faster than dense matrix multiplications on IPU at a range of sparsity levels with large matrix size and block size. Furthermore, static sparsity in general outperforms dynamic sparsity. While previous work on GPAs has shown speedups only for very high sparsity (typically 99\% and above), the present work demonstrates that our static sparse implementation outperforms equivalent dense calculations in FP16 at lower sparsity (around 90%). IPU code is available to view and run at ipu.dev/sparsity-benchmarks, GPU code will be made available shortly.

📄 PDF Abstract BibTeX arXiv:2303.16999

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Methods 이 논문이 사용한 방법론

Library 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Block-wise Dynamic Sparseness

2020-01-14 · Amir Hadifar, Johannes Deleu, Chris Develder, Thomas Demeester

Neural networks have achieved state of the art performance across a wide variety of machine learning tasks, often with large and computation-heavy models. Inducing sparseness as a way to reduce the memory and computation…

Language ModelingLanguage Modelling

Optimizing Block-Sparse Matrix Multiplications on CUDA with TVM

2020-07-26 · Zijing Gu

We implemented and optimized matrix multiplications between dense and block-sparse matrices on CUDA. We leveraged TVM, a deep learning compiler, to explore the schedule space of the operation and generate efficient CUDA …

Accelerated Sparse Neural Training: A Provable and Efficient Method to Find N:M Transposable Masks

2021-02-16 · NeurIPS 2021 12 · Itay Hubara, Brian Chmiel, Moshe Island, Ron Banner 외

Unstructured pruning reduces the memory footprint in deep neural networks (DNNs). Recently, researchers proposed different types of structural pruning intending to reduce also the computation complexity. In this work, we…

Secure Sparse Matrix Multiplications and their Applications to Privacy-Preserving Machine Learning

2025-10-16 · Marc Damie, Florian Hahn, Andreas Peter, Jan Ramon arxiv

To preserve data privacy, multi-party computation (MPC) enables executing Machine Learning (ML) algorithms on private data. However, MPC frameworks do not include optimized operations on sparse data. This absence makes t…

RSR-core: A High-Performance Engine for Low-Bit Matrix-Vector Multiplication

2026-03-29 · Mohsen Dehghankar, Abolfazl Asudeh arxiv

Matrix-vector multiplication is a fundamental building block in neural networks, vector databases, and large language models, particularly during inference. As a result, efficient matrix-vector multiplication engines dir…