Log
Logging utilities for console output with labels and colors.
This module provides helper functions for printing status messages with labels and consistent formatting, supporting both local and distributed execution.
generate_random_string()
print_info(*args, add_label=True, **kwargs)
Prints an information message
Source code in mlir_rl_artifact/utils/log.py
print_success(*args, add_label=True, **kwargs)
Prints a success message
Source code in mlir_rl_artifact/utils/log.py
print_alert(*args, add_label=True, **kwargs)
Prints an alert message
Source code in mlir_rl_artifact/utils/log.py
print_error(*args, add_label=True, with_barrier=True, **kwargs)
Prints an error message