Appearance
Migrate from W&B
Use the Rundial compatibility module to adapt common W&B training code.
Start Rundial and create an API key with the Quickstart. Keep the stack running and set RUNDIAL_API_KEY.
Install the SDK and replace the import:
bash
pip install rundialpython
import rundial.compat.wandb as wandb
with wandb.init(entity="default-workspace", project="default-project", name="baseline") as run:
run.log({"loss": 0.5}, step=1)Supported calls
| W&B call | Rundial behavior |
|---|---|
init | entity selects the workspace and project selects the project. id supplies the run ID; resume=True maps to allow. |
log | Logs values with an optional step, either on the module or the run. |
config and run.config | Read and update run configuration. |
run.summary and define_metric | Set summary values and aggregate numeric metrics. best uses the minimum. |
Image and Table | Create media values for logging. |
finish | Finish the run; a nonzero exit_code marks it failed. |
login(key=...) | Set RUNDIAL_API_KEY in the current process. |
watch | Emits a warning and does not log model information. |
Accessing an unsupported module symbol, including wandb.Artifact, wandb.sweep, wandb.agent, wandb.alert, or wandb.plot, raises NotImplementedError. See Images, tables and artifacts for files.
Environment variables
| W&B variable | Rundial behavior |
|---|---|
WANDB_ENTITY | Workspace, unless entity is supplied. |
WANDB_PROJECT | Project, unless project is supplied. |
WANDB_MODE | offline and dryrun select offline mode; disabled disables logging. |
Set RUNDIAL_API_KEY for authentication. WANDB_API_KEY is not mapped. RUNDIAL_WORKSPACE and RUNDIAL_PROJECT are fallbacks when the corresponding W&B variables are absent.