tilelang¶

Submodules¶

Attributes¶

Classes¶

TqdmLoggingHandler

Custom logging handler that directs log output to tqdm progress bar to avoid interference.

Functions¶

set_log_level(level)

Set the logging level for the module's logger.

Package Contents¶

class tilelang.TqdmLoggingHandler(level=logging.NOTSET)¶

Bases: logging.Handler

Custom logging handler that directs log output to tqdm progress bar to avoid interference.

emit(record)¶

Emit a log record. Messages are written to tqdm to ensure output in progress bars isn’t corrupted.

tilelang.set_log_level(level)¶

Set the logging level for the module’s logger.

Parameters:
  • level (str or int) – Can be the string name of the level (e.g., ‘INFO’) or the actual level (e.g., logging.INFO).

  • OPTIONS – ‘DEBUG’, ‘INFO’, ‘WARNING’, ‘ERROR’, ‘CRITICAL’

tilelang.logger¶