IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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

EagerValidatorMode

EagerValidatorMode​

class max.pipelines.EagerValidatorMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

source

Bases: str, Enum

Configures when the eager usage validator runs.

DISABLED​

DISABLED = 'disabled'

source

Never validate.

ENABLED​

ENABLED = 'enabled'

source

Enable validation during model initialization and during every request.

INIT_ONLY​

INIT_ONLY = 'init-only'

source

Validate model initialization only. This is the default behavior, and catches the footguns that are baked in at build time.