Usage
Description
Manage a shared local wandb-core service for multi-process workloads.
wandb-core is the local backend process that handles run data,
file uploads, and system metrics collection. By default, each
process that calls wandb.init() starts its own backend. On a
machine running many independent workers, that duplicates work
and wastes CPU and memory.
Use these commands to start one detached wandb-core instance and
point multiple workers on the same machine at it with the
WANDB_SERVICE environment variable.
Typical workflow:
For shell scripts, capture the raw WANDB_SERVICE value from stdout:
The shared service exits after 10 minutes of idleness by default.
Override this with —idle-timeout on the start command.
Subcommands
Last modified on September 30, 2026