Configuration

August 30, 2017 ยท View on GitHub

DIGITS uses environment variables for configuration.

NOTE: Prior to #1091 (up to DIGITS 4.0), DIGITS used configuration files instead of environment variables.

Environment Variables

VariableExample valueDescription
DIGITS_JOBS_DIR~/digits-jobsLocation where job files are stored. Default is $DIGITS_ROOT/digits/jobs.
CAFFE_ROOT~/caffePath to your local Caffe build. Should contain build/tools/caffe and python/caffe/. If unset, looks for caffe in PATH and PYTHONPATH.
TORCH_ROOT~/torchPath to your local Torch build. Should contain install/bin/th. If unset, looks for th in PATH.
DIGITS_LOGFILE_FILENAME~/digits.logFile for saving log messages. Default is $DIGITS_ROOT/digits/digits.log.
DIGITS_LOGFILE_LEVELDEBUGMinimum log message level to be saved (DEBUG/INFO/WARNING/ERROR/CRITICAL). Default is INFO.
DIGITS_SERVER_NAMEThe Big OneThe name of the server (accessible in the UI under "Info"). Default is the system hostname.
DIGITS_MODEL_STORE_URLhttp://localhost/modelstoreA list of URL's, separated by comma. Default is the official NVIDIA store.
DIGITS_URL_PREFIX/custom-prefixA path to prepend before every URL. Sets the home-page to be at "http://localhost/custom-prefix" instead of "http://localhost/"/