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

# 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 the network is restored. The program continues to run during this time.

To run on a machine without internet, set `WANDB_MODE=offline`. This configuration stores metrics locally on the hard drive. Later, call `wandb sync DIRECTORY` to stream the data to the server.

***

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