Configures preprocessors, postprocessors, and runners around InferenceModel via manifest specs and ComponentRegistry.
Use when editing physicalai.inference.preprocessors or postprocessors, manifest preprocessor/postprocessor lists, instantiate_component, registered type names, or class_path init_args for inference pipeline components.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
- Done when: initargs paths resolve relative to the export directory via resolveartifact.
Add a new built-in processor:
- Implement subclass of Preprocessor / Postprocessor in the appropriate package. - Register a short type name in componentfactory if manifest-friendly aliases are needed. - Add unit tests under tests/unit/inference/preprocessors/ or postprocessors/. - Done when: manifest using type or classpath instantiates in a minimal InferenceModel test.
Nested components in initargs must stay within MAXCOMPONENTDEPTH; avoid cyclic specs.
Validation loop
uv run pytest tests/unit/inference/preprocessors tests/unit/inference/postprocessors tests/unit/inference/test_manifest.py -q
Required checks
Processor order matches training/export semantics (normalization before runner, denormalization after).
Artifact file names in manifests do not traverse paths (.., absolute paths).
New public processors appear in docs/reference/inference-api.md or how-to docs when user-visible.
Runner choice (SinglePass, chunking runners) stays consistent with predictactionchunk vs select_action docs.