#119119th of 433 in ML frameworks and libraries

pytorch_geometric

Graph neural network library built on PyTorch

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
24.2k
License
MIT
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 35 weeks+712
25 Mar 2026: 23,446 stars1 Apr 2026: 23,477 stars8 Apr 2026: 23,511 stars15 Apr 2026: 23,531 stars22 Apr 2026: 23,558 stars29 Apr 2026: 23,572 stars6 May 2026: 23,589 stars13 May 2026: 23,622 stars20 May 2026: 23,650 stars27 May 2026: 23,667 stars3 Jun 2026: 23,690 stars10 Jun 2026: 23,712 stars17 Jun 2026: 23,729 stars24 Jun 2026: 23,748 stars1 Jul 2026: 23,777 stars8 Jul 2026: 23,797 stars15 Jul 2026: 23,811 stars22 Jul 2026: 23,828 stars29 Jul 2026: 23,882 stars5 Aug 2026: 23,916 stars12 Aug 2026: 23,940 stars19 Aug 2026: 23,956 stars26 Aug 2026: 23,977 stars2 Sept 2026: 24,001 stars9 Sept 2026: 24,021 stars16 Sept 2026: 24,033 stars23 Sept 2026: 24,048 stars30 Sept 2026: 24,059 stars7 Oct 2026: 24,069 stars14 Oct 2026: 24,085 stars21 Oct 2026: 24,101 stars28 Oct 2026: 24,110 stars4 Nov 2026: 24,120 stars11 Nov 2026: 24,135 stars18 Nov 2026: 24,147 stars25 Nov 2026: 24,158 stars

23,446 on 25 Mar 202624,158 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

PyG (PyTorch Geometric) is a Python library for writing and training graph neural networks on PyTorch. It provides a MessagePassing interface for custom layers, a large set of published GNN layers and models, mini-batch loaders and samplers for many small graphs or one large graph, and benchmark datasets. It also covers heterogeneous graphs, 3D meshes and point clouds, multi-GPU training and torch.compile.

Who it is for: ML researchers and engineers training GNNs on graph-structured data

Strengths

  • Unified MessagePassing API keeps custom GNN layers short, as the EdgeConv example shows
  • Large catalog of published GNN layers, each linked to its paper and often an example script
  • Covers heterogeneous graphs, dynamic graphs, and sampling for graphs with millions of nodes
  • Supports torch.compile, TorchScript, multi-GPU examples and optional pyg-lib sparse kernels

Weaknesses

  • Requires PyTorch; install steps and version matching are not in the visible README
  • Focused on graph learning only, not a general ML or LLM toolkit
  • Some acceleration comes from separate packages such as pyg-lib

What it needs

  • GPU optional
  • Docker
  • Needs PyTorch, pyg-lib (optional)
  • Models: GCN, GAT, GraphSAGE, GIN, RGCN

What changed

  1. “Dropped support for PyTorch 2.8. Use PyG 2.8 with PyTorch 2.9 through 2.12, or pin torch-geometric==2.7. if you need to stay on PyTorch 2.8. Older PyTorch 2.8 wheel links remain available for existin…”

  2. “Dropped support for Python 3.9 (#10461)”

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
#117djlEngine-agnostic Java framework for training and running deep learning models4.9k starsApache-2.070 out of 100
#118physicsnemoPyTorch framework for training physics and scientific ML models3.5k stars+88 (+2.6%) in 30 daysApache-2.070 out of 100
#120lm-evaluation-harnessBenchmark harness that runs 60+ academic LLM evals across many model backends14.6k starsMIT69 out of 100
#121corenlpJava NLP toolkit for tagging, parsing, named entities and coreference10.1k starsGPL-3.069 out of 100
#122mujoco_menagerieCurated MuJoCo robot models for arms, quadrupeds, humanoids and drones Live demo ↗ (opens in a new tab)4.4k stars+165 (+3.9%) in 30 dayscustom license69 out of 100