Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

1 results for “MACKO”

Newest and most relevant first

Simplify Sparse Deep Learning with Universal Sparse Tensor in nvmath-python

PyTorch researchers can now run linear layers on novel sparse weight formats without rewriting model code, with large speedups possible on pruned networks.

NVIDIA's nvmath-python, a Python library for fast math on GPUs, added a feature called the Universal Sparse Tensor in version 0.9.0. Sparse tensors store only nonzero values, saving memory when a matrix is mostly empty, such as a neural network after pruning. The new format separates how sparsity is described from how data is laid out, and converts between formats like COO and CSR without copying data. Speedups of 1.1x to 444x were reported over existing tools on one benchmark matrix.

NVIDIA's nvmath-python v0.9.0 lets teams compress mostly-empty weight matrices in deep learning models without restructuring code or rewriting kernels. Benchmarks show up to 444x faster sparse matrix multiplication than CuPy's or PyTorch's native sparse paths on one Matrix Market matrix. The gains depend heavily on sparsity level and format: CSR matched cuSPARSE, and the benefit is largest for DIA and custom formats. Teams using pruned or heavily sparse models gain most; dense workloads see nothing.

Universal Sparse Tensor in nvmath-python v0.9.0 decouples sparsity from memory layout via a runtime DSL (e.g. '(i, j) -> (j: dense, i: compressed)' for CSC), with zero-copy conversion to and from PyTorch, SciPy, CuPy and NumPy across COO, CSR, CSC, BSR, BSC and DIA. Polymorphic matmul() and solve() dispatch to optimized kernels for standard formats or JIT-generate code for custom ones, with planning-phase caching. A torch.Tensor subclass enables UST injection and weight reformatting in linear layers. On the 1,489,752x1,489,752 atmosmodl matrix, UST SpMV ran 1.1x to 444x faster than CuPy and PyTorch; MACKO UST matched or beat the original MACKO CUDA kernel.

NVIDIA Developer Blog →