# PyG (PyTorch Geometric)

> A library for writing and training graph neural networks on PyTorch.

Source: https://talira.ai/catalog/pyg-pytorch-geometric-swem00zr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [ai / ml / model libraries](https://talira.ai/categories/ai/ml/model-libraries)
- Platforms: linux, macos, windows[^1]
- Licence: MIT[^2]
- Pricing: Free[^1]
- Free tier: yes[^1]
- Backed by: [PyG Team](https://talira.ai/orgs/pyg-team.md)

PyG (PyTorch Geometric) is a library built on [PyTorch](https://talira.ai/catalog/pytorch-95ycaf9h.md) for writing and training graph neural networks (GNNs) and other geometric deep learning models on graphs, 3D meshes and point clouds. It implements a wide range of GNN layers and models from published papers and adds mini-batch loaders for many small graphs or one giant graph, multi-GPU and torch.compile support, common benchmark datasets and transforms.

## Links

- GitHub: https://github.com/pyg-team/pytorch_geometric
- Docs: https://pytorch-geometric.readthedocs.io

## Problems it solves

- train a graph neural network in PyTorch
- run node classification or link prediction on graph data
- learn from 3D point clouds or meshes with deep learning

## Features

- implements many published graph neural network layers and models
- mini-batch loaders for many small graphs or a single giant graph
- multi-GPU and torch.compile support
- common benchmark datasets and transforms for graphs, meshes and point clouds

## Trust

Overall: 0.62 out of 1.
Signals: maintenance 0.65, adoption 0.88, momentum 0.71, community 1.00, backing 0.30, extensibility 0.00.

- last commit 24 days ago
- 7 commits in the last 90 days
- latest release 2.8.1 55 days ago
- 24.2k GitHub stars
- 569 contributors
- backed by PyG Team

## Related

- Based on [PyTorch](https://talira.ai/catalog/pytorch-95ycaf9h.md)

## Alternatives

- [DGL](https://talira.ai/catalog/dgl-2re4bjzg.md): Deep Graph Library: framework-agnostic Python package for graph neural networks on CPUs, GPUs and clusters

## Sources

[^1]: https://github.com/pyg-team/pytorch_geometric/blob/master/README.md (checked 29 Nov 2026)
[^2]: https://github.com/pyg-team/pytorch_geometric/blob/master/LICENSE (checked 29 Nov 2026)
