logging_config

Logging configuration for modelopt ONNX quantization.

Functions

configure_logging

Configure logging for all ONNX components.

configure_logging(level=20, log_file=None)

Configure logging for all ONNX components.

Parameters:
  • level – The logging level to use (default: logging.INFO)

  • log_file – Optional path to a log file. If provided, logs will be written to this file in addition to stdout (default: None)