> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/gym/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/gym/_mcp/server.

# nemo_gym.exporters.wandb

## Module Contents

### Classes

| Name                                                       | Description               |
| ---------------------------------------------------------- | ------------------------- |
| [`WandbExporter`](#nemo_gym-exporters-wandb-WandbExporter) | Weights & Biases backend. |

### API

```python
class nemo_gym.exporters.wandb.WandbExporter(
    global_config_dict: omegaconf.DictConfig
)
```

**Bases:** [BaseExporter](/nemo-gym/nemo_gym/exporters/base#nemo_gym-exporters-base-BaseExporter)

Weights & Biases backend.

Configured by `wandb_project`, `wandb_name` and `wandb_api_key` in the global config.

**`ROLLOUTS_TABLE_KEY`** `str = 'Rollouts'`

---

**`config`** `= WANDBConfig.model_validate(global_config_dict)`

---

**`name`** `str = 'wandb'`

---

**`run`** `Optional[Run] = None`

---

```python
nemo_gym.exporters.wandb.WandbExporter._active_run() -> wandb.Run
```

```python
nemo_gym.exporters.wandb.WandbExporter._log_config(
    config_dict: omegaconf.DictConfig
) -> None
```

```python
nemo_gym.exporters.wandb.WandbExporter._log_metrics(
    metrics: dict[str, typing.Any],
    step: typing.Optional[int] = None
) -> None
```

```python
nemo_gym.exporters.wandb.WandbExporter._log_rollouts(
    rollouts: list[dict[str, typing.Any]]
) -> None
```

```python
nemo_gym.exporters.wandb.WandbExporter.setup() -> None
```

```python
nemo_gym.exporters.wandb.WandbExporter.teardown() -> None
```