sparseml package



sparseml.log module

Root logging file to handle standard logging setups for the package

sparseml.log. get_main_logger ( ) logging.Logger [source]

a main logger that can be used in external scripts for logging in a standard format that is consistent with other loggers in sparseml

sparseml.log. get_nm_root_logger ( ) logging.Logger [source]

the logger used for the sparseml root package that all other loggers in that namespace are created from

sparseml.log. set_logging_level ( level : int ) [source]

Set the logging level for the MAIN and NM_ROOT loggers along with all loggers created in the sparseml namespace


level – the log level to set; ex: logging.INFO

Module contents

Tooling to help train, test, and optimize models for better performance