#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.
Watch puts pytorch_geometric on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.pytorch_geometric is on your watch list. Its new releases and problems show there.
- Stars
- 24.2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Python
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
- 2.8.0 ↗ (opens in a new tab)Breaking
“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.7.0 ↗ (opens in a new tab)Breaking
“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| Rank | Project | Score |
|---|---|---|
| #117 | djlEngine-agnostic Java framework for training and running deep learning models | 70 out of 100 |
| #118 | physicsnemoPyTorch framework for training physics and scientific ML models | 70 out of 100 |
| #120 | lm-evaluation-harnessBenchmark harness that runs 60+ academic LLM evals across many model backends | 69 out of 100 |
| #121 | corenlpJava NLP toolkit for tagging, parsing, named entities and coreference | 69 out of 100 |
| #122 | mujoco_menagerieCurated MuJoCo robot models for arms, quadrupeds, humanoids and drones | 69 out of 100 |