To train on a machine without internet access and upload your results to W&B later, follow these steps:Documentation Index
Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
Use this file to discover all available pages before exploring further.
- Set the environment variable
WANDB_MODE=offlineto save metrics locally without an internet connection. - When you’re ready to upload, run
wandb initin your directory to set the project name. - Run
wandb sync [RUN-DIRECTORY]to transfer your metrics to W&B and view your results in the web app. Replace[RUN-DIRECTORY]with the path to your local run directory.
run.settings._offline or run.settings.mode after you call wandb.init().
Experiments Environment Variables