For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python class
LogLevel
LogLevel
class max.engine.LogLevel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Verbosity of Mojo logging in the compiled model.
Set with InferenceSession.set_mojo_log_level().
CRITICAL
CRITICAL = 'critical'
A failure so serious the run cannot continue.
DEBUG
DEBUG = 'debug'
Detailed diagnostic information.
ERROR
ERROR = 'error'
A failure in part of the run.
INFO
INFO = 'info'
Confirmation that things are working as expected.
NOTSET
NOTSET = 'notset'
No Mojo logging at all.
TRACE
TRACE = 'trace'
Finest-grained logging; more detail than DEBUG.
WARNING
WARNING = 'warning'
A sign that something unexpected happened; execution continues.