#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.

Stars
1.7k
License
MIT
Last commit
Jun 2026
Last release
Oct 2023
Language
Python
Stars, last 29 weeks+20
5 May 2026: 1,729 stars12 May 2026: 1,730 stars19 May 2026: 1,730 stars26 May 2026: 1,731 stars2 Jun 2026: 1,733 stars9 Jun 2026: 1,737 stars16 Jun 2026: 1,737 stars23 Jun 2026: 1,739 stars30 Jun 2026: 1,739 stars7 Jul 2026: 1,740 stars14 Jul 2026: 1,741 stars21 Jul 2026: 1,741 stars28 Jul 2026: 1,741 stars4 Aug 2026: 1,742 stars11 Aug 2026: 1,743 stars18 Aug 2026: 1,743 stars25 Aug 2026: 1,743 stars1 Sept 2026: 1,743 stars8 Sept 2026: 1,743 stars15 Sept 2026: 1,743 stars22 Sept 2026: 1,745 stars29 Sept 2026: 1,746 stars6 Oct 2026: 1,747 stars13 Oct 2026: 1,747 stars20 Oct 2026: 1,747 stars27 Oct 2026: 1,747 stars3 Nov 2026: 1,747 stars10 Nov 2026: 1,748 stars17 Nov 2026: 1,749 stars24 Nov 2026: 1,749 stars

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
Also in ML frameworks and libraries
RankProjectScore
#372onnxstreamMemory-minimal C++ ONNX inference library that runs Stable Diffusion on 512MB devices Live demo ↗ (opens in a new tab)2.1k starscustom license25 out of 100
#373robosatPipeline for extracting buildings and roads from satellite imagery as GeoJSON2.1k starsMIT25 out of 100
#375bert4torchPyTorch library for loading BERT and LLM weights to fine-tune and serve1.3k starsMIT25 out of 100
#376neural-structured-learningTensorFlow library for training neural networks with graph and adversarial signals1k starsApache-2.025 out of 100
#377lightwoodAutoML framework that generates ML pipelines from a declarative JSON-AI spec515 starsGPL-3.025 out of 100