View on GitHub
"```python\nfrom modal_training_gym.common.wandb import WandbConfig\n```\n\nWeights & Biases logging configuration shared across all frameworks.\n\n## Fields\n\n| Field | Type | Default | Description |\n|-------|------|---------|-------------|\n| `project` | `str` | `\"\"` | W&B project name. Default `\"\"`. |\n| `entity` | `str` | `\"\"` | W&B entity/team slug. Optional; when omitted, preflight resolves the default entity for the configured API key. |\n| `group` | `str` | `\"\"` | W&B group tag for organizing related runs. Default `\"\"`. |\n| `exp_name` | `str` | `\"\"` | W&B run display name. Default `\"\"`. |\n| `key` | `str` | `\"\"` | W&B API key. Usually injected via `WANDB_API_KEY` at launch time rather than hardcoded. Default `\"\"`. |\n| `disable_random_suffix` | `bool` | `True` | When `True`, suppresses the random suffix that W&B appends to run names. Default `True`. |\n| `modal_wandb_secret_name` | `str` | `\"wandb-secret\"` | Name of the Modal secret containing the W&B API key. Default `\"wandb-secret\"`. |\n\n## Related Tutorials\n\n- [GUI grounding with Qwen3-VL-8B — predict click coordinates from screenshots](/tutorials/rl/008_computer_use/)\n\n**Source:** [`modal_training_gym/common/wandb.py`](https://github.com/modal-projects/training-gym/blob/main/modal_training_gym/common/wandb.py)\n"
WandbConfig
Weights & Biases logging configuration shared across all frameworks.
from modal_training_gym.common.wandb import WandbConfigWeights & Biases logging configuration shared across all frameworks.
Fields
Section titled “Fields”| Field | Type | Default | Description |
|---|---|---|---|
project | str | "" | W&B project name. Default "". |
entity | str | "" | W&B entity/team slug. Optional; when omitted, preflight resolves the default entity for the configured API key. |
group | str | "" | W&B group tag for organizing related runs. Default "". |
exp_name | str | "" | W&B run display name. Default "". |
key | str | "" | W&B API key. Usually injected via WANDB_API_KEY at launch time rather than hardcoded. Default "". |
disable_random_suffix | bool | True | When True, suppresses the random suffix that W&B appends to run names. Default True. |
modal_wandb_secret_name | str | "wandb-secret" | Name of the Modal secret containing the W&B API key. Default "wandb-secret". |