> ## 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.

# 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. Set the environment variable `WANDB_MODE=offline` to save metrics locally without an internet connection.
2. When you're ready to upload, run `wandb init` in your directory to set the project name.
3. Run `wandb sync [RUN-DIRECTORY]` to transfer your metrics to Weights & Biases and view your results in the web app. Replace `[RUN-DIRECTORY]` with the path to your local run directory.

To confirm a run is offline, check `run.settings._offline` or `run.settings.mode` after you call `wandb.init()`.

***

[Experiments](https://docs.coreweave.com/support/models/tags/experiments.md)[Environment Variables](https://docs.coreweave.com/support/models/tags/environment-variables.md)
