Skip to main content

function setup

Prepares W&B for use in the current process and its children. You can usually ignore this as it is implicitly called by wandb.init(). When using wandb in multiple processes, calling wandb.setup() in the parent process before starting child processes may improve performance and resource utilization. Note that wandb.setup() modifies os.environ, and it is important that child processes inherit the modified environment variables. See also wandb.teardown(). Args:
  • settings: Configuration settings to apply globally. These can be overridden by subsequent wandb.init() calls.
Example: