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

# wandb offline

[View source](https://github.com/wandb/wandb/blob/v0.31.0/wandb/cli/cli.py#L3344)

## 使用

```bash theme={"system"}
offline [OPTIONS]
```

## 説明

W\&B にログしたデータをクラウドにアップロードせずにローカルに保存します。

オフラインの run をアップロードするには `wandb online` または `wandb sync` を使用します。

例えば、クラウドに同期せずにデータをローカルにログするために、オフラインモードでスクリプトを実行するには：

```bash theme={"system"}
wandb offline && python train.py
```

スクリプトをオフラインモードで実行するには、次のようにします。

```bash theme={"system"}
wandb offline && python train.py
```

後で、オフラインの run をすべてクラウドに同期します：

```bash theme={"system"}
wandb sync --sync-all
```
