Skip to main content

4 docs tagged with "logs"

View all tags

How do I log runs launched by continuous integration or internal tools?

To launch automated tests or internal tools that log to W&B, create a Service Account on the team settings page. This action allows the use of a service API key for automated jobs, including those running through continuous integration. To attribute service account jobs to a specific user, set the WANDBUSERNAME or WANDBUSER_EMAIL environment variables.

How do I log to the right wandb user on a shared machine?

When using a shared machine, ensure that runs log to the correct WandB account by setting the WANDBAPIKEY environment variable for authentication. If sourced in the environment, this variable provides the correct credentials upon login. Alternatively, set the environment variable directly in the script.

How do I turn off logging?

The command wandb offline sets the environment variable WANDB_MODE=offline, preventing data from syncing to the remote W&B server. This action affects all projects, stopping the logging of data to W&B servers.