Skip to main content
You can stop W&B from logging data to the remote server, or keep logging enabled but suppress its warning messages. Use the approach that matches your goal. To stop syncing data to W&B servers, run the wandb offline command. This command sets the environment variable WANDB_MODE=offline, which prevents data from syncing to the remote W&B server across all projects. To keep logging enabled but reduce console noise, suppress warning messages with the following code:
import logging

logger = logging.getLogger("wandb")
logger.setLevel(logging.WARNING)

Logs