Environment Variables๏
Global Configurations๏
DGLDEFAULTDIR
:Values: String (default=``โ${HOME}/.dglโ``)
The directory to save the DGL configuration files.
DGL_LOG_DEBUG
:Values: Set to
"1"
to enable debug level logging for DGLEnable debug level logging for DGL
Backend Options๏
DGLBACKEND
:Values: String (default=โpytorchโ)
The backend deep learning framework for DGL.
- Choices:
โpytorchโ: use PyTorch as the backend implementation.
โtensorflowโ: use Apache TensorFlow as the backend implementation.
โmxnetโ: use Apache MXNet as the backend implementation.
Data Repository๏
DGL_REPO
:Values: String (default=โhttps://data.dgl.ai/โ)
The repository url to be used for DGL datasets and pre-trained models.
- Suggested values:
โhttps://data.dgl.ai/โ: DGL repo for Global Region.
โhttps://dgl-data.s3.cn-north-1.amazonaws.com.cn/โ: DGL repo for Mainland China
DGL_DOWNLOAD_DIR
:Values: String (default=``โ${HOME}/.dglโ``)
The local directory to cache the downloaded data.