Skip to main content
Weights & Biases Documentation home page
Search...
⌘K
Ask AI
Log in
Sign Up
Sign Up
Search...
Navigation
How can I change the directory my sweep logs to locally?
Platform
W&B Models
W&B Weave
W&B Inference
W&B Training
Release Notes
Support
Support: W&B Models
Support: W&B Models
Academic (2)
Administrator (23)
Alerts (2)
Anonymous (2)
Artifacts (13)
AWS (2)
Billing (4)
Charts (4)
Connectivity (4)
Crashing And Hanging Runs (5)
Environment Variables (11)
Experiments (36)
Hyperparameter (3)
Inference (3)
Logs (6)
Metrics (12)
Notebooks (3)
Outage (3)
Privacy (2)
Projects (4)
Python (6)
Reports (15)
Resuming (2)
Runs (18)
Security (6)
Storage (2)
Sweeps (16)
Tables (2)
Team Management (12)
Tensorboard (2)
User Management (13)
Workspaces (6)
Wysiwyg (5)
English
close
How can I change the directory my sweep logs to locally?
Copy page
Copy page
Set the logging directory for W&B run data by configuring the environment variable
WANDB_DIR
. For example:
Report incorrect code
Copy
Ask AI
os.environ[
"WANDB_DIR"
]
=
os.path.abspath(
"your/directory"
)
Sweeps
Was this page helpful?
Yes
No
Suggest edits
Raise issue
⌘I
Assistant
Responses are generated using AI and may contain mistakes.