Python package for deep learning on graphs
Top 3.6% on sourcepulse
DGL (Deep Graph Library) is a Python package designed for deep learning on graphs, offering a framework-agnostic approach that integrates with PyTorch, MXNet, and TensorFlow. It targets researchers and practitioners in graph deep learning, providing tools for building, training, and deploying graph neural networks (GNNs) efficiently on large-scale graphs, including multi-GPU and multi-machine setups.
How It Works
DGL provides a high-performance graph object that can reside on CPU or GPU, bundling structural data and features. Its core strength lies in its customizable message-passing primitives, enabling efficient computation for various GNN architectures. The library supports distributed training and is optimized for communication, memory, and synchronization, allowing it to scale to billion-node graphs.
Quick Start & Requirements
pip install dgl
or conda install dgl
Highlighted Details
Maintenance & Community
DGL is developed by NYU, NYU Shanghai, AWS Shanghai AI Lab, and AWS MXNet Science Team. Community channels include a Slack channel and a discussion forum.
Licensing & Compatibility
DGL uses the Apache License 2.0, which is permissive and generally compatible with commercial and closed-source applications.
Limitations & Caveats
While DGL is robust, users should consult the documentation for specific framework backend requirements and potential compatibility nuances. The rapid evolution of GNN research means staying updated with the latest DGL features and best practices is recommended.
1 day ago
1 day