How can I define the local location for `wandb` files?
Support:
less than a minute
WANDB_DIR=<path>
orwandb.init(dir=<path>)
: Controls the location of thewandb
folder created for your training script. Defaults to./wandb
. This folder stores Run’s data and logsWANDB_ARTIFACT_DIR=<path>
orwandb.Artifact().download(root="<path>")
: Controls the location where artifacts are downloaded. Defaults to./artifacts
WANDB_CACHE_DIR=<path>
: This is the location where artifacts are created and stored when you callwandb.Artifact
. Defaults to~/.cache/wandb
WANDB_CONFIG_DIR=<path>
: Where config files are stored. Defaults to~/.config/wandb
WANDB_DATA_DIR=<PATH>
: Controls the location used for staging artifacts during upload. Defaults to~/.cache/wandb-data/
.
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.