composer.loggers

Note

To write a custom logger, see composer.Logger.

Composer contains built-in loggers, which can be added via the --loggers CLI flag:

python examples/run_mosaic_trainer.py -f my_model.yaml --loggers tqdm file

Backends

FileLoggerBackend

Log to a file.

TQDMLoggerBackend

WandBLoggerBackend

Log to Weights and Biases (https://wandb.ai/)

Backend Hyperparameters

FileLoggerBackendHparams

TQDMLoggerBackendHparams

WandBLoggerBackendHparams

WandBOutputConfig configures logging to Weights and Biases (wandb.ai)