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 DGL

    • Enable 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

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