"src/vscode:/vscode.git/clone" did not exist on "62b497c418d77c78215e3258a58e5da85cba1310"
env_var.rst 815 Bytes
Newer Older
Haibin Lin's avatar
Haibin Lin committed
1
2
3
4
5
Environment Variables
=====================

Backend Options
---------------
Gan Quan's avatar
Gan Quan committed
6
* ``DGLBACKEND``:
Haibin Lin's avatar
Haibin Lin committed
7
    * Values: String (default='pytorch')
8
    * The backend deep learning framework for DGL.
Haibin Lin's avatar
Haibin Lin committed
9
    * Choices:
10
        * 'pytorch': use PyTorch as the backend implementation.
Haibin Lin's avatar
Haibin Lin committed
11
12
13
14
        * 'mxnet': use Apache MXNet as the backend implementation.

Data Repository
---------------
Gan Quan's avatar
Gan Quan committed
15
* ``DGL_REPO``:
16
    * Values: String (default='https://data.dgl.ai/')
Haibin Lin's avatar
Haibin Lin committed
17
18
    * The repository url to be used for DGL datasets and pre-trained models.
    * Suggested values:
19
20
        * 'https://data.dgl.ai/': DGL repo for Global Region.
        * 'https://dgl-data.s3.cn-north-1.amazonaws.com.cn/': DGL repo for Mainland China
Gan Quan's avatar
Gan Quan committed
21
22
23
* ``DGL_DOWNLOAD_DIR``:
    * Values: String (default="${HOME}/.dgl")
    * The local directory to cache the downloaded data.