env_var.rst 714 Bytes
Newer Older
Haibin Lin's avatar
Haibin Lin committed
1
2
3
4
5
Environment Variables
=====================

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

Data Repository
---------------
Minjie Wang's avatar
Minjie Wang committed
15
* ``DGL_REPO``
Haibin Lin's avatar
Haibin Lin committed
16
17
18
19
20
    * Values: String (default='https://s3.us-east-2.amazonaws.com/dgl.ai/')
    * The repository url to be used for DGL datasets and pre-trained models.
    * Suggested values:
        * 'https://s3.us-east-2.amazonaws.com/dgl.ai/': DGL repo for U.S.
        * 'https://s3-ap-southeast-1.amazonaws.com/dgl.ai.asia/': DGL repo for Asia