How do I silence W&B info messages?
less than a minute
To suppress log messages in your notebook such as this:
INFO SenderThread:11484 [sender.py:finish():979]
Set the log level to logging.ERROR
to only show errors, suppressing output of info-level log output.
import logging
logger = logging.getLogger("wandb")
logger.setLevel(logging.ERROR)
To turn off log output completely, set the WANDB_SILENT
environment variable. This must occur in a notebook cell before running wandb.login
:
%env WANDB_SILENT=True
import os
os.environ["WANDB_SILENT"] = "True"
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.