#374374th of 433 in ML frameworks and libraries
pytorch_scatter
PyTorch extension for scatter and segment reduce operations
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts pytorch_scatter on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.pytorch_scatter is on your watch list. Its new releases and problems show there.
- Stars
- 1.7k
- License
- MIT
- Last commit
- Jun 2026
- Last release
- Oct 2023
- Language
- Python
1,729 on 5 May 20261,749 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
torch-scatter adds sparse scatter and segment reductions (sum, mean, min, max) to PyTorch, driven by a group-index tensor. It provides scatter, segment_coo and segment_csr, plus composite ops such as scatter_std, scatter_logsumexp, scatter_softmax and scatter_log_softmax. Operations run on CPU and GPU with backward implementations, and a C++ API is available.
Who it is for: PyTorch developers, especially graph neural network authors, needing scatter ops
Strengths
- Covers sum, mean, min and max reductions via scatter, segment_coo and segment_csr
- CPU and CUDA implementations with backward passes and broadcasting
- Prebuilt pip wheels for Linux, Windows and macOS across many PyTorch versions
- Includes a C++ API built with CMake, plus MIT license
Weaknesses
- Last release is 2023-10-06; newer PyTorch support relies on wheels at data.pyg.org
- macOS wheels are CPU only; no CUDA builds there
- Building from source needs a matching CUDA toolchain and PyTorch 1.4.0 or newer
- Narrow scope: reduce operations only, not a general sparse library
What it needs
- GPU optional
- Needs PyTorch, CUDA toolkit (source builds with GPU)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #372 | onnxstreamMemory-minimal C++ ONNX inference library that runs Stable Diffusion on 512MB devices | 25 out of 100 |
| #373 | robosatPipeline for extracting buildings and roads from satellite imagery as GeoJSON | 25 out of 100 |
| #375 | bert4torchPyTorch library for loading BERT and LLM weights to fine-tune and serve | 25 out of 100 |
| #376 | neural-structured-learningTensorFlow library for training neural networks with graph and adversarial signals | 25 out of 100 |
| #377 | lightwoodAutoML framework that generates ML pipelines from a declarative JSON-AI spec | 25 out of 100 |