composer.loggers#

Modules

composer.loggers.file_logger

Logs to a file.

composer.loggers.in_memory_logger

Logs metrics to dictionary objects that persist in memory throughout training.

composer.loggers.logger

Base classes, functions, and variables for logger.

composer.loggers.logger_destination

Base class for logger callback.

composer.loggers.logger_hparams_registry

Logger Hyperparameter classes.

composer.loggers.object_store_logger

Log artifacts to an object store.

composer.loggers.progress_bar_logger

Logs metrics to the console and show a progress bar.

composer.loggers.wandb_logger

Log to Weights and Biases.

Loggers to store metrics and artifacts.

In Composer, algorithms and callbacks can make calls to the Logger, which then routes the calls to the appropriate LoggerDestination instances. The LoggerDestination does the actual logging, for example to a file, or Weights and Biases.

See the LoggerDestination documentation for an example of how to define a custom logger and use it when training.

Classes

FileLogger

Log data to a file.

InMemoryLogger

Logs metrics to dictionary objects that persist in memory throughout training.

LogLevel

LogLevel denotes when in the training loop log messages are generated.

Logger

An interface to record training data.

LoggerDestination

Base class for logger destination.

ObjectStoreLogger

Logger destination that uploads artifacts to an object store.

ProgressBarLogger

Log metrics to the console and optionally show a progress bar.

WandBLogger

Log to Weights and Biases.