> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment Variables

> [card] [Do environment variables overwrite the parameters passed to wandb.init()?](https://docs.coreweave.com/support/models/articles/do-environment-variables-overwrite-the-p)
>
> Arguments passed to wandb.init override environment variables. To respect a user-set environment variable while still pr ...

> [card] [How can I define the local location for `wandb` files?](https://docs.coreweave.com/support/models/articles/how-can-i-define-the-local-location-for-)
>
> You can control where wandb stores its files locally by setting the following environment variables or, where noted, by  ...

> [card] [How do I connect to W\&B Self-Managed?](https://docs.coreweave.com/support/models/articles/how-do-i-connect-to-wandb-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 ...

> [card] [How do I handle the 'Failed to query for notebook' error?](https://docs.coreweave.com/support/models/articles/how-do-i-handle-the-failed-to-query-for-)
>
> If you encounter the error message "Failed to query for notebook name, you can set it manually with the WANDB\_NOTEBOOK\_N ...

> [card] [How do I preserve run data from ephemeral environments?](https://docs.coreweave.com/support/models/articles/how-do-i-preserve-run-data-from-ephemeral-env)
>
> Set WANDB\_DIR to a directory on persistent storage to preserve local run data and diagnostic logs in ephemeral environme ...

> [card] [How do I run Weights & Biases offline?](https://docs.coreweave.com/support/models/articles/how-do-i-run-wandb-offline)
>
> To train on a machine without internet access and upload your results to Weights & Biases later, follow these steps: 1.  ...

> [card] [How do I silence Weights & Biases info messages?](https://docs.coreweave.com/support/models/articles/how-do-i-silence-wb-info-messages)
>
> Weights & Biases emits info-level log messages by default, which can clutter notebook output. This page describes two wa ...

> [card] [How do I stop wandb from writing to my terminal or my Jupyter notebook output?](https://docs.coreweave.com/support/models/articles/how-do-i-stop-wandb-from-writing-to-my-t)
>
> Set the environment variable WANDB\_SILENT to true.

> [card] [How do I switch between accounts on the same machine?](https://docs.coreweave.com/support/models/articles/how-do-i-switch-between-accounts-on-the-)
>
> To manage two CoreWeave Forge accounts from the same machine, store both API keys in a file outside your repository, the ...

> [card] [How does wandb stream logs and writes to disk?](https://docs.coreweave.com/support/models/articles/how-does-wandb-stream-logs-and-writes-to)
>
> Weights & Biases queues events in memory and writes them to disk asynchronously. This approach handles failures and supp ...

> [card] [Is it possible to save metrics offline and sync them to Weights & Biases later?](https://docs.coreweave.com/support/models/articles/is-it-possible-to-save-metrics-offline-a)
>
> By default, wandb.init starts a process that syncs metrics in real time to the cloud. If you need to run experiments wit ...

> [card] [What does wandb.init do to my training process?](https://docs.coreweave.com/support/models/articles/what-does-wandbinit-do-to-my-training-pr)
>
> 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 ...

> [card] [What happens if internet connection is lost while I'm training a model?](https://docs.coreweave.com/support/models/articles/what-happens-if-internet-connection-is-l)
>
> If the library cannot connect to the internet, it enters a retry loop and continues to attempt to stream metrics until t ...

> [card] [Where are artifacts downloaded, and how can I control that?](https://docs.coreweave.com/support/models/articles/where-are-artifacts-downloaded-and-how-c)
>
> By default, Weights & Biases downloads artifacts to the artifacts/ folder. To change the location: Pass the path to wand ...
