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 function
eager_usage_validator
eager_usage_validator()
max.pipelines.modeling.eager_validation.eager_usage_validator(mode, phase)
Builds the validator guarding phase, per the configured mode.
-
Parameters:
-
- mode (EagerValidatorMode) – The configured
runtime.eager_usage_validatormode. - phase (Literal['initialization', 'execution']) – Which part of the pipeline’s life the scope covers.
- mode (EagerValidatorMode) – The configured
-
Returns:
-
A validator, disabled when
modeexcludesphase. -
Return type: