Skip to content
Repo

WandbConfig

from modal_training_gym.common.wandb import WandbConfig

Weights & Biases run metadata and credentials.

Attributes

project str

W&B project name. Default: ""

entity str

W&B entity or team slug. The API key's default entity applies when empty. Default: ""

group str

W&B group tag for related runs. Default: ""

exp_name str

W&B run display name. Default: ""

key str

W&B API key. WANDB_API_KEY takes precedence. Default: ""

disable_random_suffix bool

Preserve the configured run name. Default: True

modal_wandb_secret_name str

Modal secret containing the W&B API key. Default: "wandb-secret"

metadata(*, entity: str = '', run_id: str = '') -> dict[str, str]
runtime_env(*, run_id: str, entity: str = '') -> dict[str, str]
url(*, entity: str = '', run_id: str = '') -> str | None