Deep Graph Library (DGL)
DGL – Deep Graph Library
A framework-agnostic graph neural network library that supports large graphs and distributed training.
Basic information
| Name | Deep Graph Library (DGL) |
|---|---|
| Full name | DGL – Deep Graph Library |
| Category | Graph Neural Networks |
| Developer | The DMLC community (supported by AWS and New York University) |
| Release year | Not specified |
| Official website | github.com/dmlc/dgl |
| GitHub repository | dmlc/dgl |
| Official documentation | Not specified |
| Package on PyPI | dgl |
| License | Apache-2.0 (PyPI license) |
| Project status | No recent releases No new release for more than two years |
| Latest version | 13 May 2024 (version 2.2.1) |
| Programming language | Python, C++ |
| Operating systems | Not specified |
| Required Python version | Not specified |
| Difficulty level | Advanced |
Data last checked: 21 November 2026 — source: PyPI JSON API (2026-11-21)
Overview
DGL provides an efficient graph representation, custom message passing and ready layers, and distributed training on graphs with billions of edges.
The last release published on PyPI is 2.2.1 (May 2024), and newer releases are distributed from the project's package repository; check their compatibility with your PyTorch version.
When to choose it? Choose it for very large graphs or distributed training, after checking compatibility.
Uses
Main uses
- GNNs on large graphs
- Distributed graph training
Scientific fields
- Recommender systems
- Computational chemistry
Suitable project types
- Recommendation on a user-product graph
Research applications
- Large-scale GNN experiments
Technical features
A feature is shown as "Supported" only if it is documented in the library's official documentation; anything we have not verified is shown as "Not specified".
| CPU support | Supported |
|---|---|
| GPU support | Supported |
| CUDA compatibility | SupportedCUDA packages are downloaded from the project repository for your CUDA version. |
| Distributed training or computing | Supported |
| Automatic differentiation (Autodiff) | SupportedThrough the backend framework. |
| Model deployment | Partial or through an add-on |
| Pre-trained models | Partial or through an add-on |
| Supported data types | Homogeneous and heterogeneous graphs |
| Integration with other libraries | PyTorch, NetworkX |
| Flexibility (editorial estimate) | High |
| Performance (editorial estimate) | High |
| Community (editorial estimate) | Medium |
| Documentation quality (editorial estimate) | Good documentation |
Installation and running
pip install dglFor recent GPU packages, follow the installation instructions on the official website.
Installing inside a virtual environment (venv or conda) is recommended. If you need compatibility with a specific CUDA version or operating system, refer to the official documentation, because this information changes with every release.
Pros
- Good performance on large graphs
- Distributed training
Limitations
- PyPI releases stopped in 2024
- Currently a smaller community than PyG
References and verification
- Package page on PyPI (source of the version, licence and release date) Checked directly
https://pypi.org/project/dgl/
Checked on: 21 November 2026 — version checked: 2.2.1 — reviewed by: the DLArabic team
- Official website A link the package officially declares on PyPI
https://github.com/dmlc/dgl
Checked on: 21 November 2026 — reviewed by: the DLArabic team
- Official repository A link the package officially declares on PyPI
https://github.com/dmlc/dgl
Checked on: 21 November 2026 — reviewed by: the DLArabic team
History of verified versions
| Version | Release date | Checked on |
|---|---|---|
| 2.2.1 | 13 May 2024 | 21 November 2026 |
Page information last reviewed: 21 November 2026. The description was written originally for the encyclopedia and is not copied from the official websites.
