xlstm_jax.trainer.logger.cmd_logging#
Logging setup for the command line interface.
Ported from NX-AI/xlstm-dev
Attributes#
Functions#
Make sure that uncaught exceptions are logged with the logger. |
|
Get loglevel from LOGLEVEL environment variable. |
|
|
Initialize logging to logfile and stdout. |
|
Initialize logging to logfile and stdout for JAX distributed training. |
Module Contents#
- xlstm_jax.trainer.logger.cmd_logging.LOG_FORMAT = '[%(asctime)s][%(name)s:%(lineno)d][%(levelname)s]{rank} - %(message)s'#
- xlstm_jax.trainer.logger.cmd_logging.LOGGER#
- xlstm_jax.trainer.logger.cmd_logging.setup_exception_logging()#
Make sure that uncaught exceptions are logged with the logger.
- xlstm_jax.trainer.logger.cmd_logging.get_loglevel()#
Get loglevel from LOGLEVEL environment variable.
- Returns:
loglevel
- Return type: