pytorch_geometric and gnn

These two tools are competitors, as they are both libraries for building Graph Neural Networks, but each is tied to a different deep learning framework: PyTorch Geometric for PyTorch and TensorFlow GNN for TensorFlow, meaning a user would choose one or the other based on their preferred underlying framework.

pytorch_geometric
93
Verified
gnn
64
Established
Maintenance 20/25
Adoption 25/25
Maturity 25/25
Community 23/25
Maintenance 16/25
Adoption 10/25
Maturity 16/25
Community 22/25
Stars: 23,561
Forks: 3,967
Downloads: 1,165,902
Commits (30d): 19
Language: Python
License: MIT
Stars: 1,516
Forks: 198
Downloads:
Commits (30d): 3
Language: Python
License: Apache-2.0
No risk flags
No Package No Dependents

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 gnn

tensorflow/gnn

TensorFlow GNN is a library to build Graph Neural Networks on the TensorFlow platform.

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