Skip to main content

Environment variables

AddaxAI reads these environment variables. All of them are optional. You need them to move the data folder, or to send the downloads somewhere else on a restricted network.

VariableWhat it does
ADDAXAI_USER_DATA_DIRWhere the database, the models and the analysis environment live. Default ~/AddaxAI, on Windows C:\Users\<your user name>\AddaxAI.
ADDAXAI_HF_ENDPOINTBase address for the model downloads, instead of https://huggingface.co. A mirror, or your own repository manager.
ADDAXAI_HF_TOKENToken for that address, when it does not serve downloads anonymously. Needs AddaxAI 7.0.14 or newer.
ADDAXAI_HF_HUB_DISABLE_XETSet to 1 to download models the plain way. Some mirrors need this.
ADDAXAI_PYTORCH_INDEX_URLReplaces https://download.pytorch.org/whl while the analysis environment is built. Leave the CUDA part off, AddaxAI adds it.
ADDAXAI_MODEL_CATALOG_URLWhere the list of available models comes from.
ADDAXAI_DISABLE_MODEL_UPDATESSet to true to skip the model list check at start.
MAMBA_CHANNEL_ALIASReplaces https://conda.anaconda.org while the analysis environment is built. This one belongs to micromamba, not to AddaxAI. AddaxAI ignores .condarc, so it has to be set as a variable.
MAMBA_SSL_NO_REVOKESet to true to build the analysis environment without a certificate revocation check. See locked-down computers and networks.

A variable that is empty counts as not set.

How to set them

  1. Open Start and search for "environment variables".
  2. Choose "Edit the system environment variables", then "Environment variables".
  3. Add each one under "User variables", or under "System variables" to cover every user on the machine.
  4. Restart the computer, then start AddaxAI.