Comparison
dgl vs torch-geometric
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Deep Graph Library
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install dglGraph Neural Network Library for PyTorch
Maintained. Last release 7 weeks ago, commits in 10 of the last 26 weeks. Weaker on issue handling.
$
pip install torch-geometricIn short
- dgl is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- torch-geometric is the most used: 1.4M downloads a month, 17× more than dgl.
- torch-geometric also has the best Pythie’s Index (68).
- Safe default for a new project: torch-geometric.
Side by side
| Metric | dgl | torch-geometric |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | 68 |