Do environment variables overwrite the parameters passed to wandb.init()?
Arguments passed to wandb.init override environment variables. To respect a user-set environment variable while still pr …
How can I define the local location for wandb files?
You can control where wandb stores its files locally by setting the following environment variables or, where noted, by …
How do I connect to W&B Self-Managed?
W&B Self-Managed is a self-hosted deployment that runs in your infrastructure. Point the SDK and CLI at your instance UR …
How do I handle the 'Failed to query for notebook' error?
If you encounter the error message “Failed to query for notebook name, you can set it manually with the WANDB_NOTEBOOK_N …
How do I preserve run data from ephemeral environments?
Set WANDB_DIR to a directory on persistent storage to preserve local run data and diagnostic logs in ephemeral environme …
How do I run Weights & Biases offline?
To train on a machine without internet access and upload your results to Weights & Biases later, follow these steps: 1. …
How do I silence Weights & Biases info messages?
Weights & Biases emits info-level log messages by default, which can clutter notebook output. This page describes two wa …
How do I stop wandb from writing to my terminal or my Jupyter notebook output?
Set the environment variable WANDB_SILENT to true.
How do I switch between accounts on the same machine?
To manage two CoreWeave Forge accounts from the same machine, store both API keys in a file outside your repository, the …
How does wandb stream logs and writes to disk?
Weights & Biases queues events in memory and writes them to disk asynchronously. This approach handles failures and supp …
Is it possible to save metrics offline and sync them to Weights & Biases later?
By default, wandb.init starts a process that syncs metrics in real time to the cloud. If you need to run experiments wit …
What does wandb.init do to my training process?
When wandb.init() runs in a training script, an API call creates a run object on the W&B servers. A new process starts t …
What happens if internet connection is lost while I'm training a model?
If the library cannot connect to the internet, it enters a retry loop and continues to attempt to stream metrics until t …
Where are artifacts downloaded, and how can I control that?
By default, Weights & Biases downloads artifacts to the artifacts/ folder. To change the location: Pass the path to wand …