wandb stores its files locally by setting the following environment variables or, where noted, by passing equivalent arguments to the SDK. Each variable controls a distinct location and has its own default.
WANDB_DIR=<path>orwandb.init(dir=<path>): Sets the location of thewandbfolder created for your training script. Defaults to./wandb. This folder stores run data and logs.WANDB_ARTIFACT_DIR=<path>orwandb.Artifact().download(root="<path>"): Sets the location wherewandbdownloads artifacts. Defaults to./artifacts.WANDB_CACHE_DIR=<path>: Sets the location wherewandbcreates and stores artifacts when you callwandb.Artifact. Defaults to~/.cache/wandb.WANDB_CONFIG_DIR=<path>: Sets the location wherewandbstores configuration files. Defaults to~/.config/wandb.WANDB_DATA_DIR=<path>: Sets the location used for staging artifacts during upload. Defaults to~/.cache/wandb-data/.
Environment Variables Experiments