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
module_pipeline_model
module_pipeline_model()
max.pipelines.lib.module_registration.module_pipeline_model(config, modules, batching)
Returns the pipeline model that serves a module registration.
One registration always returns the same class.
-
Parameters:
-
Raises:
-
- ValueError – If the registration names a framework-owned role, has no
DECODER. - NotImplementedError – If it registers a role other than
DECODERandVISION. - TypeError – If a registered class isn’t a
Module, or the registration’sVISIONmodule, decoder and batch processor don’t fit together.
- ValueError – If the registration names a framework-owned role, has no
-
Return type: