项目文件夹

文件
Konstantinos Vandikas eca9b8ef08 allow for configuring default_dir (#3277)
* allow for configuring default_dir

* allow for using DGLDEFAULTDIR environment variable

* Update env_var.rst

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-08-26 17:32:16 +00:00

43 行
1.4 KiB
ReStructuredText

Environment Variables
=====================
Global Configurations
---------------------
* ``DGLDEFAULTDIR``:
* Values: String (default=``"${HOME}/.dgl"``)
* The directory to save the DGL configuration files.
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.
Intel CPU Performance Options
---------------
* ``DGL_CPU_INTEL_KERNEL_ENABLED``:
* Values: int (default='0')
* Use dynamic cpu kernels.
* Suggested values: 1
* ``DGL_CPU_INTEL_KERNEL_LOG``:
* Values: int (default='0')
* Show diagnostic message (debug mode).
* Suggested values: 1