System Requirements
Supported OS:
- All Linux distributions no earlier than CentOS 8+ / Ubuntu 20.04.
- macOS X 10.9+
- Windows 10+ (with VC2015 Redistributable Installed) / Windows server 2016+
Supported Python versions: 3.8, 3.9, 3.10, 3.11, 3.12
Supported deep learning frameworks:
- PyTorch 2.1.0+
- Apache MXNet 1.6+
- TensorFlow 2.3+.
Additional supported CUDA version when using PyTorch:
Linux: CentOS 8+ / Ubuntu 20.04+
PyTorch ver. \ CUDA ver. | 11.8 | 12.1 | 12.4 |
---|---|---|---|
2.1 | ✅ | ✅ | |
2.2 | ✅ | ✅ | |
2.3 | ✅ | ✅ | |
2.4 | ✅ | ✅ | ✅ |
Windows: Windows 10+/Windows server 2016+
PyTorch ver. \ CUDA ver. | 11.8 | 12.1 |
---|---|---|
2.0 | ✅ | |
2.1 | ✅ | ✅ |
Recommended containers
You can download GPU enabled DGL docker containers (backended by PyTorch) from NVIDIA NGC for both x86 and ARM based linux systems.
Install from source
Check out the instructions to build from source.
Learning DGL
Check out our tutorials and documentations.
Using DGL with SageMaker
Amazon SageMaker is a fully-managed service that enables data scientists and developers to quickly and easily build, train, and deploy machine learning models at any scale. Amazon SageMaker now supports DGL, simplifying implementation of DGL models. A Deep Learning container (MXNet 1.6 and PyTorch 1.3) bundles all the software dependencies and the SageMaker API automatically sets up and scales the infrastructure required to train graphs. Please refer to the SageMaker documentation for more information. The best way to get stated is with our sample Notebooks below:
- Semi-supervised classification of a knowledge base using a GCN (https://github.com/awslabs/amazon-sagemaker-examples/tree/master/sagemaker-python-sdk/dgl_gcn)
- Learning embeddings of large-scale knowledge graphs using a dataset of scientific publications (https://github.com/awslabs/amazon-sagemaker-examples/tree/master/sagemaker-python-sdk/dgl_kge)
- Molecular property prediction of toxicity using a GCN (https://github.com/awslabs/amazon-sagemaker-examples/tree/master/sagemaker-python-sdk/dgl_gcn_tox21)
- Recommender system for movies using a GCMC implementation (https://github.com/awslabs/amazon-sagemaker-examples/tree/master/sagemaker-python-sdk/dgl_gcmc)