Can I run wandb offline?
Support:
less than a minute
If training occurs on an offline machine, use the following steps to upload results to the servers:
- Set the environment variable
WANDB_MODE=offlineto save metrics locally without an internet connection. - When ready to upload, run
wandb initin your directory to set the project name. - Use
wandb sync YOUR_RUN_DIRECTORYto transfer metrics to the cloud service and access results in the hosted web app.
To confirm the run is offline, check run.settings._offline or run.settings.mode after executing wandb.init().
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.