> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-mintlify-8476678c.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# What does wandb.init do to my training process?

When `wandb.init()` runs in a training script, an API call creates a run object on the W\&B servers. A new process starts to stream and collect metrics so the primary process can function normally. The script writes to local files while the separate process streams data, including system metrics, to the W\&B servers.

To turn off streaming, run `wandb off` from the training directory or set the `WANDB_MODE` environment variable to `offline`.

***

<Badge stroke shape="pill" color="orange" size="md">[Environment Variables](/support/models/tags/environment-variables)</Badge><Badge stroke shape="pill" color="orange" size="md">[Experiments](/support/models/tags/experiments)</Badge>
