How do I silence W&B info messages?
To turn off standard Weights & Biases logging and information messages, such as project info at the start of a run, set the WANDB_SILENT
environment variable. This must occur in a notebook cell before running wandb.login
:
- Jupyter Magic
- Python
%env WANDB_SILENT=True
import os
os.environ["WANDB_SILENT"] = "True"
To suppress log messages such as INFO SenderThread:11484 [sender.py:finish():979]
in your notebook, utilize the following code:
import logging
logger = logging.getLogger("wandb")
logger.setLevel(logging.ERROR)