pytorch_geometric and stellargraph

PyTorch Geometric and StellarGraph are competitors offering overlapping GNN implementations, though PyTorch Geometric is more mature and widely adopted (23.5K vs 3K stars, 1000x higher downloads) with tighter PyTorch integration, while StellarGraph provides a higher-level API built on TensorFlow/Keras that may appeal to users preferring that ecosystem.

pytorch_geometric
93
Verified
stellargraph
65
Established
Maintenance 20/25
Adoption 25/25
Maturity 25/25
Community 23/25
Maintenance 0/25
Adoption 18/25
Maturity 25/25
Community 22/25
Stars: 23,561
Forks: 3,967
Downloads: 1,165,902
Commits (30d): 19
Language: Python
License: MIT
Stars: 3,047
Forks: 439
Downloads: 760
Commits (30d): 0
Language: Python
License: Apache-2.0
No risk flags
Stale 6m

About pytorch_geometric

pyg-team/pytorch_geometric

Graph Neural Network Library for PyTorch

Provides a message-passing API for implementing custom GNN layers and pre-built convolution operators (GCNConv, EdgeConv, etc.) that handle node aggregation and feature propagation. Supports heterogeneous graphs, dynamic temporal graphs, and large-scale models with millions of nodes, alongside specialized data loaders for mini-batch training on both small and giant graphs. Includes built-in benchmark datasets and graph transforms for point clouds and 3D meshes, with `torch.compile` and multi-GPU support for production deployments.

About stellargraph

stellargraph/stellargraph

StellarGraph - Machine Learning on Graphs

Scores updated daily from GitHub, PyPI, and npm data. How scores work