rusty1s/pytorch_sparse
PyTorch Extension Library of Optimized Autograd Sparse Matrix Operations observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 85
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2958
- days_rel: n/a
- days_push: 91
- n_releases_24m: 0
Adoption not part of the score
1104 stars · 162 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch extension library providing optimized sparse matrix operations (coalesce, transpose, sparse-dense and sparse-sparse multiplication) with autograd support. Operations work on CPU and GPU across varying data types and use index/value tensors instead of torch.sparse_coo_tensor.
Use cases
- multiply sparse and dense matrices in pytorch with gradients
- speed up sparse matrix ops on gpu for gnn training
- transpose large sparse tensors efficiently
- coalesce sparse tensor indices and values
- avoid building torch.sparse_coo_tensor manually
- sparse matrix multiplication with autograd support
When to choose
- you need differentiable sparse matrix operations in PyTorch on CPU or GPU
- you are building graph neural networks with PyTorch Geometric
- you want optimized CUDA kernels for sparse-dense and sparse-sparse matmul
When to avoid
- you only need basic sparse tensors already covered by native torch.sparse
- you work outside the PyTorch ecosystem (e.g. TensorFlow, JAX, SciPy)
- you need sparse operations on indices with gradients, since index tensors are not differentiable
Facets
library · maturity active
machine-learning gpu-computing math machine-learning deep-learning python windows pytorch sparse-matrices autograd cuda extension-library graph-neural-networks algorithms linux macos gpu
1 source
- readme: https://github.com/rusty1s/pytorch_sparse · fetched 2026-08-28 · d899a5f60cf0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rusty1s/pytorch_sparse | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="rusty1s/pytorch_sparse")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem